updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / liboggz10 / compat-symlinks.fix
blob597e218dcc047a3697acc8fda6e337507fd7deeb
1 --- src/tools/Makefile.in.orig  2010-09-23 13:30:50.437819899 +0200
2 +++ src/tools/Makefile.in       2010-09-23 13:33:46.802502660 +0200
3 @@ -917,10 +917,11 @@
4  # Add symlinks for deprecated tool names, if they are already installed;
5  # see http://lists.xiph.org/pipermail/ogg-dev/2008-July/001083.html
6  install-exec-local:
7 +       cd $(DESTDIR)$(bindir) && \
8         for p in dump diff info merge rip ; do \
9 -         if test -e $(exec_prefix)/bin/oggz$$p ; then \
10 -           $(RM) $(exec_prefix)/bin/oggz$$p ; \
11 -           $(LN_S) $(exec_prefix)/bin/oggz-$$p $(exec_prefix)/bin/oggz$$p ; \
12 +         if test -e oggz$$p ; then \
13 +           $(RM) oggz$$p ; \
14 +           $(LN_S) oggz-$$p oggz$$p ; \
15           fi ; \
16         done