######################### sp := $(sp).x dirstack_$(sp) := $(d) d := $(dir) ######################### # # Define rules and targets for data files. # 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)) # TODO: Also need to install yoink.desktop and the pixmap. ####################### -include $(DEPS_$(d)) d := $(dirstack_$(sp)) sp := $(basename $(sp)) #######################