Commit e7adaff786bf4bed30be39a8a28edb9f65888b12

Authored by Jay Berkenbilt
1 parent 6ee761fc

Create distfiles.zip target

This creates a zip file of the files that are present in a source
distribution but not present in the repository.
Showing 2 changed files with 7 additions and 1 deletions
.gitignore
... ... @@ -8,6 +8,7 @@ autom4te.cache/
8 8 config.log
9 9 config.status
10 10 configure
  11 +distfiles.zip
11 12 doc/fix-qdf.1
12 13 doc/qpdf-manual.html
13 14 doc/qpdf-manual.pdf
... ...
Makefile
... ... @@ -102,6 +102,11 @@ autofiles.zip: $(AUTOFILES)
102 102 $(RM) autofiles.zip
103 103 zip autofiles.zip $(AUTOFILES)
104 104  
  105 +DISTFILES = $(AUTOFILES) doc/qpdf-manual.html doc/qpdf-manual.pdf
  106 +distfiles.zip: $(DISTFILES)
  107 + $(RM) distfiles.zip
  108 + zip distfiles.zip $(DISTFILES)
  109 +
105 110 distclean: clean
106 111 $(RM) -r autoconf.mk autom4te.cache config.log config.status libtool
107 112 $(RM) libqpdf/qpdf/qpdf-config.h
... ... @@ -114,7 +119,7 @@ maintainer-clean: distclean
114 119 $(RM) configure doc/qpdf-manual.* libqpdf/qpdf/qpdf-config.h.in
115 120 $(RM) aclocal.m4
116 121 $(RM) -r install-mingw install-msvc external-libs
117   - $(RM) autofiles.zip
  122 + $(RM) autofiles.zip distfiles.zip
118 123  
119 124 .PHONY: $(TEST_TARGETS)
120 125  
... ...