]> git.sesse.net Git - vlc/commitdiff
Take program-transform-name into account when creating vlc symlinks
authorRémi Denis-Courmont <rem@videolan.org>
Thu, 21 Dec 2006 18:18:08 +0000 (18:18 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Thu, 21 Dec 2006 18:18:08 +0000 (18:18 +0000)
Makefile.am

index d3b5084f4e15e355364fe1816d527c1257562930..d4189d1c9c71e8de7f33f61af38cc6cb00b35492 100644 (file)
@@ -351,9 +351,10 @@ endif
 
 # Install the symlinks
 install-exec-local: install-binPROGRAMS
+        inst="`echo vlc | sed -e '$(transform)'`" ; \
        for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
          rm -f "$(DESTDIR)$(bindir)/$$i" && \
-         ln -sf vlc "$(DESTDIR)$(bindir)/$$i" ; \
+         ln -sf "$${inst}" "$(DESTDIR)$(bindir)/$$i" ; \
        fi ; done
 
 # the opposite of install-{data,exec}-local