summaryrefslogtreecommitdiff
path: root/polyp
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-23 20:41:49 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-23 20:41:49 +0000
commit6d2054458ed8bbdcdc4bdf0c57e4294fdc8a7676 (patch)
tree5d3dc8a1854fbb24473451cf0941c654abc752be /polyp
parentdfcd161a52285649b6ff63ae5c191f37a494884d (diff)
place full binary path in default.pa's shebang line
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@236 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp')
-rw-r--r--polyp/Makefile.am5
-rwxr-xr-xpolyp/default.pa.in (renamed from polyp/default.pa)2
2 files changed, 5 insertions, 2 deletions
diff --git a/polyp/Makefile.am b/polyp/Makefile.am
index c53913115..4e0754682 100644
--- a/polyp/Makefile.am
+++ b/polyp/Makefile.am
@@ -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' < $< > $@
diff --git a/polyp/default.pa b/polyp/default.pa.in
index a3aaa7c87..54feb5ef7 100755
--- a/polyp/default.pa
+++ b/polyp/default.pa.in
@@ -1,4 +1,4 @@
-#!./polypaudio -nF
+#!@POLYPAUDIO_BINARY@ -nF
#
# This file is part of polypaudio.