aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-17 11:56:04 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-17 11:56:04 -0800
commit6871d94aea905d6b775559bb8836c69b6335a64e (patch)
tree0644c3a8beb23aaf5d26d8fb9ae3eee4c9b6d9f5
parent5e18e2ab6b683c01f1ccb2a1d58093ae2145acf4 (diff)
More Makefile adjustments.
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f4223fc..6723f2e 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ mingw:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../toolchain-mingw32.cmake -DCMAKE_INSTALL_PREFIX=$(MINGW_INSTALLDIR) ;\
make && make install
-archive: spec.html $(BUILDDIR) man/man1/cmark.1
+archive: spec.html $(BUILDDIR) man/man1/cmark.1 man/make_man_page.py
@rm -rf $(PKGDIR); \
mkdir -p $(PKGDIR)/$(SRCDIR); \
mkdir -p $(PKGDIR)/api_test $(PKGDIR)/man/man1 $(PKGDIR)/man/man3 ; \
@@ -60,6 +60,7 @@ archive: spec.html $(BUILDDIR) man/man1/cmark.1
cp -a $(SRCDIR)/scanners.c $(PKGDIR)/$(SRCDIR)/; \
cp -a spec.html $(PKGDIR); \
cp -a man/CMakeLists.txt $(PKGDIR)/man;\
+ cp -a man/make_man_page.py $(PKGDIR)/man;\
cp -a man/man1/cmark.1 $(PKGDIR)/man/man1;\
cp CMakeLists.txt $(PKGDIR); \
perl -ne '$$p++ if /^### JavaScript/; print if (!$$p)' Makefile > $(PKGDIR)/Makefile; \