summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-07-05 18:52:32 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-07-07 22:00:06 -0400
commitb7fb4bbfe28fc28e3ad11c8786f4b5f06a2a89e8 (patch)
treebe35bb4f86c5d7c0d695bc6a99d10cf2d27a9c79
parenta090d0a7c9168ca6292c6cdf1b8c27c5a067c085 (diff)
Add make targets for building and serving example site.
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1bddaa4..496f3c2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -118,7 +118,15 @@ CLEANFILES = \
$(GOBJECTS) \
$(TESTS:tests/%.scm=%.log)
+example:
+ cd $(top_builddir)/example && ../pre-inst-env haunt build
+
+example-serve: example
+ cd $(top_builddir)/example && ../pre-inst-env haunt serve
+
publish: 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/
+
+.PHONY: example example-serve publish