Add 'make publish' target.

This commit is contained in:
David Thompson 2017-01-23 19:45:05 -05:00
parent 970dc04539
commit 6568361bd3
1 changed files with 5 additions and 0 deletions

View File

@ -103,3 +103,8 @@ SUBDIRS = \
CLEANFILES = \ CLEANFILES = \
$(GOBJECTS) \ $(GOBJECTS) \
$(TESTS:tests/%.scm=%.log) $(TESTS:tests/%.scm=%.log)
publish: distcheck
gpg --sign --armor --yes haunt-$(VERSION).tar.gz && \
scp haunt-$(VERSION).tar.gz haunt-$(VERSION).tar.gz.asc \
blog@dthompson.us:/var/www/files/haunt/