From dd6fde8e160e9a578a326b427814afd96ce860f0 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Wed, 29 Sep 2021 13:26:30 +0200 Subject: [PATCH] Generate the website before viewing the test version --- issues/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/issues/Makefile b/issues/Makefile index c1cf80b..0767360 100644 --- a/issues/Makefile +++ b/issues/Makefile @@ -1,7 +1,9 @@ -all: +generate-site: ls | grep issue- | sort -n | xargs ./make_issue.sh ./make_issue.sh _index ../public/index.html +all: generate-site + clean: rm ../dev/*html @@ -9,6 +11,6 @@ test: ./make_issue.sh current /tmp/current-issue.html xdg-open /tmp/current-issue.html -testsite: +testsite: generate-site cp -fr ../public /tmp/ xdg-open /tmp/public/index.html