Makefile: Add publish target. master v0.1
authorDavid Thompson <dthompson2@worcester.edu>
Sun, 11 Mar 2018 00:48:55 +0000 (19:48 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Sun, 11 Mar 2018 00:48:55 +0000 (19:48 -0500)
Makefile.am

index c1988a0..6b89de1 100644 (file)
@@ -50,3 +50,9 @@ EXTRA_DIST +=                                 \
   pre-inst-env.in                              \
   README                                       \
   guix.scm
+
+publish: distcheck
+       gpg --sign --armor --yes guile-syntax-highlight-$(VERSION).tar.gz && \
+        scp guile-syntax-highlight-$(VERSION).tar.gz \
+           guile-syntax-highlight-$(VERSION).tar.gz.asc \
+           blog@dthompson.us:/var/www/files/guile-syntax-highlight/