From: Guido Draheim Date: Sun, 14 Feb 2010 20:38:16 +0000 (+0000) Subject: use install-*-hook instead of install-*-local X-Git-Tag: v0.13.59~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0cdd838916b300917a8e4b2db8b72d2880688b8;p=zziplib use install-*-hook instead of install-*-local --- diff --git a/ChangeLog b/ChangeLog index 1a9ad7e..4be5414 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2010-02-14 guidod + * zzip/Makefile.am: use install-*-hook instead of install-*-local * docs/Makefile.am: PYTHONDONTWRITEBYTECODE=1 to ensure running python with a read-only source code repository (dynamic workspaces) NOTE: python -B was introduced with Python 2.6 (so use environment) diff --git a/zzip/Makefile.am b/zzip/Makefile.am index 21f5c02..a53e0c0 100644 --- a/zzip/Makefile.am +++ b/zzip/Makefile.am @@ -65,7 +65,7 @@ MAINTAINERCLEANFILES = _msvc.h CLEANFILES = $(WCC10_CLEAN) *.pc *.omf *~ *.tmp *.tmp.* # here is some backward compatibility with version 0.10.* of zziplib -install-data-local : install-zzipHEADERS +install-data-hook : install-zzipHEADERS echo '#ifndef ZZIP_WARNING' > $(DESTDIR)$(includedir)/zzip.h echo '#define ZZIP_WARNING 1' >>$(DESTDIR)$(includedir)/zzip.h echo '#ifdef __GNUC__' >>$(DESTDIR)$(includedir)/zzip.h @@ -82,7 +82,7 @@ install-data-local : install-zzipHEADERS sed -e 's|zzip.h|zzip-io.h|' -e 's|zzip/lib.h|zzip/plugin.h|' \ $(DESTDIR)$(includedir)/zzip.h >$(DESTDIR)$(includedir)/zzip-io.h -install-exec-local: +install-exec-hook: @ for i in . $(DESTDIR)$(libdir)/libzzip*.so.13 \ ; do test -d $$i && continue ; lib=`basename "$$i" .so.13` \ ; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.10" \