summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2022-11-12 19:52:45 -0500
committerDavid Thompson <dthompson@vistahigherlearning.com>2022-11-12 19:52:45 -0500
commit9e84ba4341d0e87d0c34be590b9646747dfcbf3e (patch)
tree9d387c9f72dc25a4a74621961cc7dc07d00db6e2 /Makefile.am
parent5382b288c73eb6216b511ceeb0d0ac1d1947187c (diff)
make: Fix distcheck and add publish target.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index aca7553..996b77b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,6 +52,9 @@ SOURCES = \
TESTS = \
tests/frame.scm
+CLEANFILES += \
+ $(TESTS:tests/%.scm=%.log)
+
TEST_EXTENSIONS = .scm
SCM_LOG_COMPILER = $(top_builddir)/pre-inst-env $(GUILE)
AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)"
@@ -59,4 +62,10 @@ AM_SCM_LOG_FLAGS = --no-auto-compile -L "$(top_srcdir)"
EXTRA_DIST += \
pre-inst-env.in \
README \
- guix.scm
+ guix.scm \
+ $(TESTS)
+
+publish: distcheck
+ gpg --sign --detach-sign --armor --yes guile-websocket-$(VERSION).tar.gz && \
+ scp guile-websocket-$(VERSION).tar.gz guile-websocket-$(VERSION).tar.gz.asc \
+ publish@dthompson.us:/var/www/files/guile-websocket/