aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-01 06:51:50 -0300
committerEuAndreh <eu@euandre.org>2021-03-01 06:51:50 -0300
commitfa7c99c72d7635095e669e8aed9ef1d8db089df4 (patch)
tree680cda449bc8287cd422ab16bc23319ce68c6288 /Makefile
parentTODOs.md: Add #task-319021df-ebdb-40cd-8330-329e8d01b747 (diff)
downloadeuandre.org-fa7c99c72d7635095e669e8aed9ef1d8db089df4.tar.gz
euandre.org-fa7c99c72d7635095e669e8aed9ef1d8db089df4.tar.xz
Update files under aux/
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