diff options
author | EuAndreh <eu@euandre.org> | 2022-06-01 21:48:49 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-06-01 21:48:49 -0300 |
commit | 904b6a94e6f632c55b8a7394de085b3973d907aa (patch) | |
tree | a532b3d2c9bc69a56aaddcee8862f375c80b65f0 /Makefile | |
parent | Makefile: No need to rebuild public/ in "deploy" target (diff) | |
download | euandre.org-904b6a94e6f632c55b8a7394de085b3973d907aa.tar.gz euandre.org-904b6a94e6f632c55b8a7394de085b3973d907aa.tar.xz |
Makefile: Conditionally clean with dynamic.mk, only when generated.mk exists
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -56,12 +56,13 @@ check: dev-check: check clean: - $(MAKE) -f dynamic.mk clean + if [ -e generated.mk ]; then \ + $(MAKE) -f dynamic.mk clean; \ + fi rm -rf \ public/ .jekyll-cache \ $(derived-assets) \ - src/content/ - # rm -f generated.mk + src/content/ generated.mk JEKYLL = JEKYLL_ENV=production jekyll |