[vlc-devel] commit: Take program prefix and suffix into account in the make-alias script. ( Antoine Cellerier )

git version control git at videolan.org
Mon May 26 00:12:21 CEST 2008


vlc | branch: master | Antoine Cellerier <antoine at macbook.(none)> | Mon May 26 00:11:33 2008 +0200| [3dfed6db962960e045721ff09fc7ef624635c3df]

Take program prefix and suffix into account in the make-alias script.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3dfed6db962960e045721ff09fc7ef624635c3df
---

 Makefile.am |    2 +-
 make-alias  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index a4b9ed5..e8720e9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -353,7 +353,7 @@ EXTRA_SCRIPTS = $(ALL_ALIASES)
 
 dist_noinst_SCRIPTS += make-alias
 
-MKALIAS = bindir="$(bindir)" transform="$(transform)" $(top_srcdir)/make-alias $@
+MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@
 
 cvlc: make-alias
 	$(MKALIAS) dummy
diff --git a/make-alias b/make-alias
index e655ab3..df67b4e 100755
--- a/make-alias
+++ b/make-alias
@@ -7,7 +7,7 @@ IFACE="$2"
 
 cat > "$OUT.tmp" << EOF
 #! /bin/sh
-exec $bindir/`echo vlc | sed -e "$transform"` -I "$IFACE" "\$@"
+exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
 EOF
 
 chmod +x "$OUT.tmp"




More information about the vlc-devel mailing list