From 34311a89c5fec7e44fab5cb92e8cef8cc4702077 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 24 Jan 2013 10:37:00 -0500 Subject: [PATCH] Add autofiles.zip make target --- .gitignore | 1 + Makefile | 6 ++++++ README-windows.txt | 12 ++++++++++++ 3 files changed, 19 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 32b158f..7678057 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ aclocal.m4 autoconf.mk +autofiles.zip autom4te.cache/ config.log config.status diff --git a/Makefile b/Makefile index 5a76ddd..e882672 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 \ diff --git a/README-windows.txt b/README-windows.txt index 682920c..46d0484 100644 --- a/README-windows.txt +++ b/README-windows.txt @@ -77,6 +77,18 @@ You can also download qpdf-external-libs-src.zip and follow the instructions in the README.txt there for how to build external libs. +Building from version control +============================= + +If you check out qpdf from version control, you will not have the +files that are generated by autoconf. If you are not changing these +files, you can grab them from a source distribution or create them +from a system that has autoconf. To create them from scratch, run +./autogen.sh on a system that has autoconf installed. Once you have +them, you can run make CLEAN=1 autofiles.zip. This will create an +autofiles.zip that you can extract on top of a fresh checkout. + + Building with MinGW =================== -- libgit2 0.21.4