aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-18 16:53:56 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-18 16:53:56 -0800
commit0e934adc54af7bc19dfa6b779c1534dff2dcf64b (patch)
treea6ffeef9b58fd509c6b0194b7be1f62e56fa8e72
parent9370b2cfd9b6382164ab7bde36a59409d32ae498 (diff)
Add api_test directory to archive.
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
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) ; \