summaryrefslogtreecommitdiffstats
path: root/data/tilesets
diff options
context:
space:
mode:
Diffstat (limited to 'data/tilesets')
-rw-r--r--data/tilesets/local.mk15
1 files changed, 7 insertions, 8 deletions
diff --git a/data/tilesets/local.mk b/data/tilesets/local.mk
index 03cc6f9..85c4f9e 100644
--- a/data/tilesets/local.mk
+++ b/data/tilesets/local.mk
@@ -2,16 +2,17 @@ tilesetsdir = $(pkgdatadir)/tilesets
sdlex_CPPFLAGS += -DTILESETSDIR=\"$(tilesetsdir)\"
-tilesets_sources = \
+dist_tilesets_sources = \
data/tilesets/collision.xcf \
data/tilesets/mountain_landscape_19-16-8bit.xcf
-tilesets_DATA = \
- data/tilesets/collision.png \
- data/tilesets/mountain_landscape_19-16-8bit.png
- data/tilesets/collision.tsx
+nodist_tilesets_DATA = $(dist_tilesets_sources:.xcf=.png)
+
+CLEANFILES += \
+ $(nodist_tilesets_DATA)
-EXTRA_DIST = $(tilesets_sources)
+EXTRA_DIST += \
+ data/tilesets/collision.tsx
data/tilesets/$(am__dirstamp):
@$(MKDIR_P) data/tilesets
@@ -19,7 +20,5 @@ data/tilesets/$(am__dirstamp):
$(tilesets_DATA): data/tilesets/$(am__dirstamp)
-clean-local-data-tilesets:
- -rm -f data/tilesets/*.png
distclean-local-data-tilesets:
-rm -f data/tilesets/$(am__dirstamp)