summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMatthew Peveler <matt.peveler@gmail.com>2020-05-31 22:09:28 -0400
committerMatthew Peveler <matt.peveler@gmail.com>2020-05-31 22:09:28 -0400
commitc31c6419c19b000e99d179041af1f792c0af9c7f (patch)
tree9d3987f1cbda70a6d5c6ca116b3285453d753e46 /Makefile.in
parente5dcee226cc2163bafc1cb06c01bd86826b490e4 (diff)
downloadasciidoc-git-c31c6419c19b000e99d179041af1f792c0af9c7f.tar.gz
add make dist endpoint for creating tar and zip
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 15 insertions, 0 deletions
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