Browse Source

Create a libcucul.la symlink for distributions such as Gentoo which may

rely on .la files for library dependencies.
tags/v0.99.beta17
Sam Hocevar sam 16 years ago
parent
commit
55d5e56691
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      caca/Makefile.am
  2. +2
    -0
      cxx/Makefile.am

+ 2
- 0
caca/Makefile.am View File

@@ -71,6 +71,7 @@ install-exec-local:
for x in $$library_names; do \ for x in $$library_names; do \
ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \ ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done done
ln -sf libcaca.la $(DESTDIR)$(libdir)/libcucul.la
install-data-local: install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
@@ -83,6 +84,7 @@ uninstall-local:
for x in $$library_names; do \ for x in $$library_names; do \
rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \ rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done done
rm -f $(DESTDIR)$(libdir)/libcucul.la
rmdir $(DESTDIR)$(libdir) 2>/dev/null || true rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc rm -f $(DESTDIR)$(pkgconfigdir)/cucul.pc
rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true


+ 2
- 0
cxx/Makefile.am View File

@@ -29,6 +29,7 @@ install-exec-local:
for x in $$library_names; do \ for x in $$library_names; do \
ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \ ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done done
ln -sf libcaca++.la $(DESTDIR)$(libdir)/libcucul++.la
install-data-local: install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir) $(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
@@ -40,6 +41,7 @@ uninstall-local:
for x in $$library_names; do \ for x in $$library_names; do \
rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \ rm -f $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \
done done
rm -f $(DESTDIR)$(libdir)/libcucul++.la
rmdir $(DESTDIR)$(libdir) 2>/dev/null || true rmdir $(DESTDIR)$(libdir) 2>/dev/null || true
rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc rm -f $(DESTDIR)$(pkgconfigdir)/cucul++.pc
rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true rmdir $(DESTDIR)$(pkgconfigdir) 2>/dev/null || true


Loading…
Cancel
Save