From 0e934adc54af7bc19dfa6b779c1534dff2dcf64b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 18 Nov 2014 16:53:56 -0800 Subject: Add api_test directory to archive. --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 617598c..c24ec1e 100644 --- a/Makefile +++ b/Makefile @@ -49,15 +49,16 @@ archive: spec.html $(BUILDDIR) @rm -rf $(PKGDIR); \ mkdir -p $(PKGDIR)/man/man1; \ mkdir -p $(PKGDIR)/$(SRCDIR)/html; \ - srcfiles=`git ls-tree --full-tree -r HEAD --name-only $(SRCDIR)`; \ + mkdir -p $(PKGDIR)/api_test; \ + srcfiles=`git ls-tree --full-tree -r HEAD --name-only $(SRCDIR) api_test`; \ for f in $$srcfiles; do cp -a $$f $(PKGDIR)/$$f; done; \ cp -a $(SRCDIR)/scanners.c $(PKGDIR)/$(SRCDIR)/; \ - cp spec.html $(PKGDIR); \ + cp -a spec.html $(PKGDIR); \ cp CMakeLists.txt $(PKGDIR); \ perl -ne '$$p++ if /^### JavaScript/; print if (!$$p)' Makefile > $(PKGDIR)/Makefile; \ - cp Makefile.nmake nmake.bat $(PKGDIR); \ - cp man/man1/cmark.1 $(PKGDIR)/man/man1/; \ - cp README.md LICENSE spec.txt runtests.pl $(PKGDIR)/; \ + cp -a Makefile.nmake nmake.bat $(PKGDIR); \ + cp -a man/man1/cmark.1 $(PKGDIR)/man/man1/; \ + cp -a README.md LICENSE spec.txt runtests.pl $(PKGDIR)/; \ tar czf $(TARBALL) $(PKGDIR); \ zip -q -r $(ZIPARCHIVE) $(PKGDIR); \ rm -rf $(PKGDIR) ; \ -- cgit v1.2.3