summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-08-16 11:36:26 -0500
committerJesse Luehrs <doy@tozt.net>2011-08-16 11:36:59 -0500
commitc0eda46d1973421646f821935e1ea4b2cfd06314 (patch)
treefef53102156586a7599bd3e7bb2786cfed105c4e /Makefile
parentecf4b2f4cd9018c461e4837433b19a7605d9108b (diff)
downloadconf-c0eda46d1973421646f821935e1ea4b2cfd06314.tar.gz
conf-c0eda46d1973421646f821935e1ea4b2cfd06314.zip
fortune .dat files are generated, so just generate them
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 52e429a..e4a2113 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ INSTALL = abcde.conf \
xmonad
INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL))
-BUILD = bin/nethack/timettyrec pwsafe.dat
+BUILD = bin/nethack/timettyrec pwsafe.dat $(addsuffix .dat,$(filter-out %.dat,$(wildcard fortune/*)))
ECHO = @echo
LN = @ln -sf
@@ -72,4 +72,8 @@ $(INTO)/.% : %
pwsafe.dat :
wget -q http://tozt.net/.pwsafe.dat -O pwsafe.dat
+fortune/%.dat : fortune/%
+ @echo "Compiling $@"
+ @strfile -s $(basename $@)
+
.PHONY: build install clean