aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 96304c3..955bb70 100644
--- a/Makefile
+++ b/Makefile
@@ -77,12 +77,16 @@ $(HOME)/mnt/crypt/.keep: $(HOME)/mnt/suyin/enc
if [ ! -e $@ ]; then cryfs $? $(@D); fi
touch $@
-$(HOME)/Documents/txt/:
- mkdir -p $@
- touch $@/TODOs.md
- touch $@/scratch.txt
+$(HOME)/Documents/txt/TODOs.md:
+ mkdir -p $(@D)
+ touch $@
+
+$(HOME)/Documents/txt/scratch.txt:
+ mkdir -p $(@D)
+ touch $@
-$(XDG_DATA_HOME)/euandreh/e.list.txt: $(HOME)/Documents/txt/ opt/aux/gen-e-list.sh
+$(XDG_DATA_HOME)/euandreh/e.list.txt: opt/aux/gen-e-list.sh \
+ $(HOME)/Documents/txt/TODOs.md $(HOME)/Documents/txt/scratch.txt
sh opt/aux/gen-e-list.sh > $@