From aa864d214249bc16b93a56dbdc1cac91fa276a46 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 11 Oct 2018 17:23:31 -0400 Subject: Automatically detect outdated generated files Update documentation to reflect that automatically generated files are committed. Detect when they are outdated if we have the ability to regenerate them. --- Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 17cae493..414430ea 100644 --- a/Makefile +++ b/Makefile @@ -97,12 +97,7 @@ $(foreach B,$(BUILD_ITEMS),$(eval \ clean_$(B): ; \ $(RM) -r $(B)/$(OUTPUT_DIR))) -AUTOFILES = configure aclocal.m4 libqpdf/qpdf/qpdf-config.h.in -autofiles.zip: $(AUTOFILES) - $(RM) autofiles.zip - zip autofiles.zip $(AUTOFILES) - -DISTFILES = $(AUTOFILES) doc/qpdf-manual.html doc/qpdf-manual.pdf +DISTFILES = doc/qpdf-manual.html doc/qpdf-manual.pdf distfiles.zip: $(DISTFILES) $(RM) distfiles.zip zip distfiles.zip $(DISTFILES) @@ -116,10 +111,9 @@ distclean: clean $(RM) libqpdf.pc libqpdf.map maintainer-clean: distclean - $(RM) configure doc/qpdf-manual.* libqpdf/qpdf/qpdf-config.h.in - $(RM) aclocal.m4 - $(RM) -r install-mingw install-msvc external-libs - $(RM) autofiles.zip distfiles.zip + $(RM) doc/qpdf-manual.* + $(RM) -r install-mingw* install-msvc* external-libs + $(RM) distfiles.zip .PHONY: $(TEST_TARGETS) -- cgit v1.2.3-70-g09d2