summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-02-19 10:26:27 -0500
committerDavid Thompson <dthompson2@worcester.edu>2024-02-19 10:26:27 -0500
commitbe456fa6b7a9a44b95be51995c98ecfee6b13a30 (patch)
tree8f96ed6d7779f6922619d28dca1b616851274e40
parentb90f239791e87e4ef8a816eb402f654ed9ba9d52 (diff)
make: Add automation for publishing release docs.v0.3.0
-rw-r--r--Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index dece665..1c08890 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -126,7 +126,13 @@ CLEANFILES = \
$(GOBJECTS) \
$(TESTS:tests/%.scm=%.log)
-publish: distcheck
+publish_tarball: distcheck
gpg --sign --detach-sign --armor --yes haunt-$(VERSION).tar.gz && \
scp haunt-$(VERSION).tar.gz haunt-$(VERSION).tar.gz.asc \
- publish@dthompson.us:/var/www/files/haunt/
+ publish@dthompson.us:/var/www/files/releases/haunt/
+
+publish_docs: html
+ scp -r doc/haunt.html publish@dthompson.us:/var/www/files/docs/haunt/$(VERSION) && \
+ ssh publish@dthompson.us ln -sfn /var/www/files/docs/haunt/$(VERSION) /var/www/files/docs/haunt/latest
+
+publish: publish_tarball publish_docs