diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-29 11:19:32 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-29 11:19:32 -0800 |
commit | c8a2c3df72132c8eb683d5373f10b4d99964b316 (patch) | |
tree | 3ef5d7cd1cc84d3eaaf83c6846753176b0c0654f /Makefile | |
parent | c301f6b6c6c3c870bc7a56334c3fd1d42356b736 (diff) |
Updated Makefile for changes to test/ and man/.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -32,7 +32,7 @@ $(BUILDDIR): check cd $(BUILDDIR); \ cmake .. -G "$(GENERATOR)" -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -install: $(BUILDDIR) man/man1/cmark.1 man/man3/cmark.3 +install: $(BUILDDIR) make -C $(BUILDDIR) install debug: @@ -47,10 +47,8 @@ mingw: cmake .. -DCMAKE_TOOLCHAIN_FILE=../toolchain-mingw32.cmake -DCMAKE_INSTALL_PREFIX=$(MINGW_INSTALLDIR) ;\ make && make install -archive: spec.html $(BUILDDIR) man/man3/cmark.3 man/man1/cmark.1 +archive: spec.html $(BUILDDIR) @rm -rf $(PKGDIR); \ - mkdir -p $(PKGDIR)/man/man1; \ - mkdir -p $(PKGDIR)/man/man3; \ mkdir -p $(PKGDIR)/$(SRCDIR)/html; \ mkdir -p $(PKGDIR)/api_test; \ srcfiles=`git ls-tree --full-tree -r HEAD --name-only $(SRCDIR) api_test`; \ @@ -60,9 +58,9 @@ archive: spec.html $(BUILDDIR) man/man3/cmark.3 man/man1/cmark.1 cp CMakeLists.txt $(PKGDIR); \ perl -ne '$$p++ if /^### JavaScript/; print if (!$$p)' Makefile > $(PKGDIR)/Makefile; \ cp -a Makefile.nmake nmake.bat $(PKGDIR); \ - cp -a man/man1/cmark.1 $(PKGDIR)/man/man1/; \ - cp -a man/man3/cmark.3 $(PKGDIR)/man/man3/; \ - cp -a README.md LICENSE spec.txt spec_tests.py pathological_tests.py $(PKGDIR)/; \ + cp -r man $(PKGDIR)/; \ + cp -r test $(PKGDIR)/; \ + cp -a README.md LICENSE spec.txt $(PKGDIR)/; \ tar czf $(TARBALL) $(PKGDIR); \ zip -q -r $(ZIPARCHIVE) $(PKGDIR); \ rm -rf $(PKGDIR) ; \ @@ -87,12 +85,6 @@ $(SRCDIR)/html/html_unescape.h: $(SRCDIR)/html/html_unescape.gperf $(SRCDIR)/case_fold_switch.inc: $(DATADIR)/CaseFolding-3.2.0.txt perl mkcasefold.pl < $< > $@ -man/man1/cmark.1: man/cmark.1.md - pandoc $< -o $@ -s -t man - -man/man3: - mkdir -p $@ - test: $(SPEC) $(BUILDDIR) make -C $(BUILDDIR) test ARGS="-V" |