]> Dogcows Code - chaz/yoink/blobdiff - data/rules.mk
need the configure script
[chaz/yoink] / data / rules.mk
index 92d7529ab49624d6682dd400e52e0007a9bd1451..a2cfff81e63d27da63a8cda8e3e8b746888e5ab6 100644 (file)
@@ -9,12 +9,13 @@ d              := $(dir)
 # Define rules and targets for data files.
 #
 
-TGTS_$(d) := $(DATA_FILES)
-
-# TODO: Also need to install yoink.desktop and the pixmap.
+ASSETS_$(d) := $(shell find $(d) -name "*.lua" \
+                              -o -name "*.ogg" \
+                              -o -name "*.png" | sed -e 's=^$(d)\(.*\)/.*=&;\1=g') $(d)/yoinkrc;
 
+DATAFILES   := $(DATAFILES) $(ASSETS_$(d))
 
-TGT_DATA  := $(TGT_DATA) $(DATA_FILES)
+# TODO: Also need to install yoink.desktop and the pixmap.
 
 
 #######################
This page took 0.017249 seconds and 4 git commands to generate.