place full binary path in default.pa's shebang line
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2004 20:41:49 +0000 (20:41 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Sep 2004 20:41:49 +0000 (20:41 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@236 fefdeb5f-60dc-0310-8127-8f9354f1896f

polyp/Makefile.am
polyp/default.pa.in [moved from polyp/default.pa with 98% similarity]

index c539131..4e07546 100644 (file)
@@ -32,7 +32,7 @@ AM_CFLAGS+=-DPOLYPAUDIO_BINARY=\"$(bindir)/polypaudio\"
 AM_LDADD=$(PTHREAD_LIBS) -lm
 AM_LIBADD=$(PTHREAD_LIBS) -lm
 
-EXTRA_DIST = default.pa daemon.conf.in client.conf.in depmod.py esdcompat.sh.in
+EXTRA_DIST = default.pa.in daemon.conf.in client.conf.in depmod.py esdcompat.sh.in
 bin_PROGRAMS = polypaudio pacat pactl
 bin_SCRIPTS = esdcompat.sh
 noinst_PROGRAMS = \
@@ -557,6 +557,9 @@ esdcompat.sh: esdcompat.sh.in Makefile
 client.conf: client.conf.in Makefile
        sed -e 's,@POLYPAUDIO_BINARY\@,$(bindir)/polypaudio,g' < $< > $@
 
+default.pa: default.pa.in Makefile
+       sed -e 's,@POLYPAUDIO_BINARY\@,$(bindir)/polypaudio,g' < $< > $@
+
 daemon.conf: daemon.conf.in Makefile
        sed -e 's,@DLSEARCHPATH\@,$(modlibdir),g' \
                -e 's,@DEFAULT_CONFIG_FILE\@,$(polypconfdir)/daemon.conf,g' < $< > $@
similarity index 98%
rename from polyp/default.pa
rename to polyp/default.pa.in
index a3aaa7c..54feb5e 100755 (executable)
@@ -1,4 +1,4 @@
-#!./polypaudio -nF 
+#!@POLYPAUDIO_BINARY@ -nF 
 
 #
 # This file is part of polypaudio.