From c31c6419c19b000e99d179041af1f792c0af9c7f Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 31 May 2020 22:09:28 -0400 Subject: add make dist endpoint for creating tar and zip Signed-off-by: Matthew Peveler --- Makefile.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 241a6c3..3382df9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -226,6 +226,11 @@ docs: ( cd examples/website && \ cp -R * $(DESTDIR)/$(docdir)/examples/website ) +## website: generates the website into ./gh-pages directory (which will point at gh-pages branch) +.PHONY: website +website: + bash build_website.sh + ## tags: generate tags index files for use with vim and other tags-capable editors .PHONY: tags tags: @@ -250,6 +255,16 @@ uninstall: clean: rm -f $(manp) +MANIFEST: MANIFEST.in + bash build_dist.sh + +##. +## dist: creates the zip and tarball for release +.PHONY: dist +dist: vers_update manpages MANIFEST + tar -czf asciidoc-$(ASCIIDOCVERSION).tar.gz -T MANIFEST + zip asciidoc-$(ASCIIDOCVERSION).zip -@ < MANIFEST + ##. ## test: run the asciidoc test suite .PHONY: test -- cgit v1.2.1