]> Dogcows Code - chaz/yoink/blobdiff - data/rules.mk
build system enhancements
[chaz/yoink] / data / rules.mk
index a2cfff81e63d27da63a8cda8e3e8b746888e5ab6..1968532d47411594a74f912ef6e4a6d52a573cb1 100644 (file)
@@ -1,26 +1,15 @@
 
-#########################
-sp             := $(sp).x
-dirstack_$(sp) := $(d)
-d              := $(dir)
-#########################
-
 #
 # Define rules and targets for data files.
 #
 
-ASSETS_$(d) := $(shell find $(d) -name "*.lua" \
+pkgdatadir_$d := $(shell find $d -name "*.ac"  \
+                                 -o -name "*.lua" \
+                              -o -name "*.gz"  \
                               -o -name "*.ogg" \
-                              -o -name "*.png" | sed -e 's=^$(d)\(.*\)/.*=&;\1=g') $(d)/yoinkrc;
-
-DATAFILES   := $(DATAFILES) $(ASSETS_$(d))
-
-# TODO: Also need to install yoink.desktop and the pixmap.
-
+                              -o -name "*.png") $d/yoinkrc
+# Install resource files to pkgdatadir.
 
-#######################
--include $(DEPS_$(d))
-d  := $(dirstack_$(sp))
-sp := $(basename $(sp))
-#######################
+desktop_$b := $b/yoink.desktop         # Install desktop entry file.
+$(desktop_$b): config.sed | $b
 
This page took 0.018809 seconds and 4 git commands to generate.