]> git.sesse.net Git - vlc/blobdiff - Makefile.am
Take program-transform-name into account when creating vlc symlinks
[vlc] / 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