summaryrefslogtreecommitdiffstats
path: root/avahi-utils/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-04 13:32:27 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-04 13:32:27 +0000
commit7c739f063e94aba0fca5e161597b87a9189fc609 (patch)
treeec5494154978647d25e060bdff9936e8833090c1 /avahi-utils/Makefile.am
parent8c585e0162e7d773a18ef179e7e8561c2aa71e17 (diff)
* don't use autoconf to replace paths in avahi-utils. Use sed instead
* comment out sebest's pygtk stuff in configure.ac for now git-svn-id: file:///home/lennart/svn/public/avahi/trunk@227 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-utils/Makefile.am')
-rw-r--r--avahi-utils/Makefile.am37
1 files changed, 31 insertions, 6 deletions
diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am
index c2c7842..0079795 100644
--- a/avahi-utils/Makefile.am
+++ b/avahi-utils/Makefile.am
@@ -19,12 +19,37 @@
SUBDIRS=avahi
+pythonscripts = \
+ avahi-publish-address \
+ avahi-publish-service \
+ avahi-dump-all \
+ avahi-discover
+
+EXTRA_DIST = \
+ avahi-publish-address.in \
+ avahi-publish-service.in \
+ avahi-dump-all.in \
+ avahi-discover.in
+
if HAVE_PYTHON
-bin_SCRIPTS = \
- avahi-publish-address \
- avahi-publish-service \
- avahi-dump-all \
- avahi-discover
+bin_SCRIPTS = $(pythonscripts)
endif
-CLEANFILES = $(bin_SCRIPTS)
+avahi-publish-address: avahi-publish-address.in
+ sed -e 's,@PYTHON\@,$(PYTHON),g' $< > $@
+ chmod +x $@
+
+avahi-publish-service: avahi-publish-service.in
+ sed -e 's,@PYTHON\@,$(PYTHON),g' $< > $@
+ chmod +x $@
+
+avahi-dump-all: avahi-dump-all.in
+ sed -e 's,@PYTHON\@,$(PYTHON),g' $< > $@
+ chmod +x $@
+
+avahi-discover: avahi-discover.in
+ sed -e 's,@PYTHON\@,$(PYTHON),g' \
+ -e 's,@interfacesdir\@,$(interfacesdir),g' $< > $@
+ chmod +x $@
+
+CLEANFILES = $(pythonscripts)