From 9e84ba4341d0e87d0c34be590b9646747dfcbf3e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 12 Nov 2022 19:52:45 -0500 Subject: make: Fix distcheck and add publish target. --- Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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/ -- cgit v1.2.3