summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-03-14 15:47:58 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-03-14 16:04:53 +0100
commitf62a18342eaee27bb6034418ec3247e9a3da3b4a (patch)
tree838da69e8d86b33221e4fbea4e5b35ba44a937d9 /repo
parent159c94c4c142d13c033b631cc75ab4d7d4101d58 (diff)
downloadmemory-leaks-f62a18342eaee27bb6034418ec3247e9a3da3b4a.tar.xz
Move dependency file to a variable and clean it
Diffstat (limited to 'repo')
-rw-r--r--repo/www/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/repo/www/Makefile b/repo/www/Makefile
index 21bf328..c6d64a3 100644
--- a/repo/www/Makefile
+++ b/repo/www/Makefile
@@ -9,9 +9,10 @@ page_folders = $(patsubst $(TOP_DIR)%/,$(OUT_DIR)%,$(text_folders))
all: site
-include deps.mk
+dependencies = deps.mk
+include $(dependencies)
-deps.mk: make-deps.py $(text_folders)
+$(dependencies): make-deps.py $(text_folders)
python3 $< $(TOP_DIR) $(OUT_DIR)
site: $(pages)
@@ -23,4 +24,5 @@ $(page_folders):
pandoc -s $< -o $@
clean:
+ -rm $(dependencies)
-rm -r $(OUT_DIR)