Commit 34311a89c5fec7e44fab5cb92e8cef8cc4702077
1 parent
bfda7177
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.
Showing
3 changed files
with
19 additions
and
0 deletions
.gitignore
Makefile
| ... | ... | @@ -91,6 +91,11 @@ $(foreach B,$(BUILD_ITEMS),$(eval \ |
| 91 | 91 | clean_$(B): ; \ |
| 92 | 92 | $(RM) -r $(B)/$(OUTPUT_DIR))) |
| 93 | 93 | |
| 94 | +AUTOFILES = configure aclocal.m4 libqpdf/qpdf/qpdf-config.h.in | |
| 95 | +autofiles.zip: $(AUTOFILES) | |
| 96 | + $(RM) autofiles.zip | |
| 97 | + zip autofiles.zip $(AUTOFILES) | |
| 98 | + | |
| 94 | 99 | distclean: clean |
| 95 | 100 | $(RM) -r autoconf.mk autom4te.cache config.log config.status libtool |
| 96 | 101 | $(RM) libqpdf/qpdf/qpdf-config.h |
| ... | ... | @@ -103,6 +108,7 @@ maintainer-clean: distclean |
| 103 | 108 | $(RM) configure doc/qpdf-manual.* libqpdf/qpdf/qpdf-config.h.in |
| 104 | 109 | $(RM) aclocal.m4 |
| 105 | 110 | $(RM) -r install-mingw install-msvc external-libs |
| 111 | + $(RM) autofiles.zip | |
| 106 | 112 | |
| 107 | 113 | .PHONY: $(TEST_TARGETS) |
| 108 | 114 | $(foreach B,$(TEST_ITEMS),$(eval \ | ... | ... |
README-windows.txt
| ... | ... | @@ -77,6 +77,18 @@ You can also download qpdf-external-libs-src.zip and follow the |
| 77 | 77 | instructions in the README.txt there for how to build external libs. |
| 78 | 78 | |
| 79 | 79 | |
| 80 | +Building from version control | |
| 81 | +============================= | |
| 82 | + | |
| 83 | +If you check out qpdf from version control, you will not have the | |
| 84 | +files that are generated by autoconf. If you are not changing these | |
| 85 | +files, you can grab them from a source distribution or create them | |
| 86 | +from a system that has autoconf. To create them from scratch, run | |
| 87 | +./autogen.sh on a system that has autoconf installed. Once you have | |
| 88 | +them, you can run make CLEAN=1 autofiles.zip. This will create an | |
| 89 | +autofiles.zip that you can extract on top of a fresh checkout. | |
| 90 | + | |
| 91 | + | |
| 80 | 92 | Building with MinGW |
| 81 | 93 | =================== |
| 82 | 94 | ... | ... |