diff options
-rw-r--r-- | Makefile.am | 10 |
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 |