aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 499cbbd..b166700 100644
--- a/Makefile
+++ b/Makefile
@@ -5,17 +5,16 @@ check:
sh scripts/extract-translations.sh
sh scripts/apply-translations.sh
+dev-check: check
+
clean:
rm -rf public/ _site/
-NAME_UC = website
-NAME = $(NAME_UC)
-MAILING_LIST = public-inbox
-OUT = public
-
public:
- JEKYLL_ENV=production jekyll build -d $(OUT) --trace
- sh aux/workflow/TODOs.sh $(NAME_UC) $(NAME) $(MAILING_LIST)
+ sh aux/workflow/public.sh website website public-inbox
+ mv public/index.html public/README.html
+ JEKYLL_ENV=production jekyll build --trace
+ rsync -a _site/ public
publish: public
rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete
@@ -23,4 +22,4 @@ publish: public
serve:
JEKYLL_ENV=production jekyll serve --future --livereload --trace
-.PHONY: clean check publish serve
+.PHONY: clean check dev-check publish serve