summaryrefslogtreecommitdiff
path: root/Build/source/libs/zziplib/Makefile.am
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-07 14:29:53 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-07-07 14:29:53 +0000
commit0df6dd4d8aea6edc733de81fb7eec115ea59a36e (patch)
treee2f7056cb53c58c8ef5779450ac468091b2bd86d /Build/source/libs/zziplib/Makefile.am
parent3675a91dd83af3eaa1c1a12e91af1e6c86f710f8 (diff)
build system: additional Makefile fragments
better handling of dependencies for highly parallel make git-svn-id: svn://tug.org/texlive/trunk@31127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/zziplib/Makefile.am')
-rw-r--r--Build/source/libs/zziplib/Makefile.am31
1 files changed, 16 insertions, 15 deletions
diff --git a/Build/source/libs/zziplib/Makefile.am b/Build/source/libs/zziplib/Makefile.am
index 52039a0d987..58cabc0dab9 100644
--- a/Build/source/libs/zziplib/Makefile.am
+++ b/Build/source/libs/zziplib/Makefile.am
@@ -8,15 +8,8 @@
##
ACLOCAL_AMFLAGS = -I ../../m4 -I m4
-# Rebuild
-.PHONY: rebuild
-rebuild: all
-
## We want to re-distribute the whole original zziplib source tree.
##
-## With current automake (1.10.2) 'make distcheck' fails when
-## DISTFILES contains a directory and files in that directory.
-## Thus nodist_* for all files in $(ZZIPLIB_TREE).
EXTRA_DIST = $(ZZIPLIB_TREE)
## Patches applied to the original source tree
@@ -52,14 +45,7 @@ nodist_libzzip_a_SOURCES = \
$(libzzip_a_OBJECTS): config.force
-config.force: $(ZLIB_DEPEND)
- echo timestamp >config.force
- $(SHELL) ./config.status --recheck
-
-DISTCLEANFILES = config.force include/_msvc.in _configs.sed
-
-## Rebuild zlib
-@ZLIB_RULE@
+DISTCLEANFILES = include/_msvc.in _configs.sed
TESTS_ENVIRONMENT = ZZIPLIB_TREE=$(ZZIPLIB_TREE)
if build
@@ -74,3 +60,18 @@ distclean-local:
nodist_unzzip_SOURCES = @ZZIPLIB_TREE@/bins/unzzip.c
unzzip_LDADD = libzzip.a $(ZLIB_LIBS)
+## Rebuild zlib
+@ZLIB_RULE@
+
+# Reconfig
+reconfig_prereq = $(ZLIB_DEPEND)
+
+include $(srcdir)/../../am/reconfig.am
+
+# Rebuild
+rebuild_prereq =
+rebuild_target = all
+CLEANFILES =
+
+include $(srcdir)/../../am/rebuild.am
+