From b7fb4bbfe28fc28e3ad11c8786f4b5f06a2a89e8 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 5 Jul 2022 18:52:32 -0400 Subject: Add make targets for building and serving example site. --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3