Browse Source

Fix the libcucul symlink installation when /bin/sh points to bash or any

shell that doesn't look for sourced files in $PWD.
tags/v0.99.beta17
Sam Hocevar sam 15 years ago
parent
commit
0f7722b05a
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      caca/Makefile.am
  2. +2
    -2
      cxx/Makefile.am

+ 2
- 2
caca/Makefile.am View File

@@ -76,7 +76,7 @@ driver_source = \

install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(libdir)
. libcaca.la; \
. ./libcaca.la || exit 1; \
for x in $$library_names; do \
ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done
@@ -89,7 +89,7 @@ install-data-local:
ln -sf caca.h $(DESTDIR)$(includedir)/cucul.h

uninstall-local:
. libcaca.la; \
. ./libcaca.la || exit 1; \
for x in $$library_names; do \
rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done


+ 2
- 2
cxx/Makefile.am View File

@@ -25,7 +25,7 @@ cxxtest_LDADD = libcaca++.la ../caca/libcaca.la
if USE_CXX
install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(libdir)
. libcaca++.la; \
. ./libcaca++.la || exit 1; \
for x in $$library_names; do \
ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done
@@ -37,7 +37,7 @@ install-data-local:
endif

uninstall-local:
. libcaca++.la; \
. ./libcaca++.la || exit 1; \
for x in $$library_names; do \
rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done


Loading…
Cancel
Save