summaryrefslogtreecommitdiffstats
path: root/fortune-mod/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fortune-mod/Makefile')
-rw-r--r--fortune-mod/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/fortune-mod/Makefile b/fortune-mod/Makefile
new file mode 100644
index 0000000..9c6a228
--- /dev/null
+++ b/fortune-mod/Makefile
@@ -0,0 +1,9 @@
+include ../Makefile.include
+
+build: $(addsuffix .dat,$(filter-out %.dat,$(wildcard .local/share/fortune/*)))
+
+clean:
+ @rm -f .local/share/fortune/*.dat
+
+%.dat : %
+ @strfile -s $(basename $@)