BUILD: use thememan.in instead of Makefile echo

This commit is contained in:
hasufell 2013-08-28 02:55:08 +02:00
parent 8f0d6e85fd
commit 08fd4f2dd7
3 changed files with 6 additions and 4 deletions

View File

@ -969,6 +969,7 @@ src/common/dbus/Makefile
src/fe-text/Makefile src/fe-text/Makefile
src/fe-gtk/Makefile src/fe-gtk/Makefile
src/htm/Makefile src/htm/Makefile
src/htm/thememan
src/pixmaps/Makefile src/pixmaps/Makefile
plugins/Makefile plugins/Makefile
plugins/python/Makefile plugins/python/Makefile

View File

@ -6,9 +6,7 @@ themedir = $(bindir)
thememan.exe: htm-mono.csproj thememan.exe: htm-mono.csproj
$(MDTOOL) $(MDTOOL_OPTS) build $< $(MDTOOL) $(MDTOOL_OPTS) build $<
thememan:
@echo '#!/bin/sh' > $@
@echo 'exec mono "$(bindir)/thememan.exe" "$$@"' >> $@
clean-local: clean-local:
rm -f thememan.exe thememan.exe.config thememan.exe.mdb thememan Main.resources rm -f thememan.exe thememan.exe.config thememan.exe.mdb thememan Main.resources
EXTRA_DIST = thememan.in

3
src/htm/thememan.in Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exec_prefix="@exec_prefix@"
exec mono "@bindir@/thememan.exe" "$@"