summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2013-01-24 16:37:00 +0100
committerJay Berkenbilt <ejb@ql.org>2013-01-24 17:35:21 +0100
commit34311a89c5fec7e44fab5cb92e8cef8cc4702077 (patch)
treec4386ab2e5c4e4dfd7999af92ad4dcaa042160bd /Makefile
parentbfda71774907263f5263a3ae2e8c8fa40fbc2cca (diff)
downloadqpdf-34311a89c5fec7e44fab5cb92e8cef8cc4702077.tar.zst
Add autofiles.zip make target
This target creates autofiles.zip from a source distribution or fresh checkout after autogen.sh has been run. The resulting zip can be unzipped over a fresh checkout to support easier building on Windows from a clean checkout.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5a76ddda..e882672b 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,11 @@ $(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)
+
distclean: clean
$(RM) -r autoconf.mk autom4te.cache config.log config.status libtool
$(RM) libqpdf/qpdf/qpdf-config.h
@@ -103,6 +108,7 @@ 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
.PHONY: $(TEST_TARGETS)
$(foreach B,$(TEST_ITEMS),$(eval \