diff --git a/.gitignore b/.gitignore index c8bd500b..4ae661bc 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ autom4te.cache/ config.log config.status configure +distfiles.zip doc/fix-qdf.1 doc/qpdf-manual.html doc/qpdf-manual.pdf diff --git a/Makefile b/Makefile index d5c2c2b3..17cae493 100644 --- a/Makefile +++ b/Makefile @@ -102,6 +102,11 @@ autofiles.zip: $(AUTOFILES) $(RM) autofiles.zip zip autofiles.zip $(AUTOFILES) +DISTFILES = $(AUTOFILES) doc/qpdf-manual.html doc/qpdf-manual.pdf +distfiles.zip: $(DISTFILES) + $(RM) distfiles.zip + zip distfiles.zip $(DISTFILES) + distclean: clean $(RM) -r autoconf.mk autom4te.cache config.log config.status libtool $(RM) libqpdf/qpdf/qpdf-config.h @@ -114,7 +119,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 + $(RM) autofiles.zip distfiles.zip .PHONY: $(TEST_TARGETS)