summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-11-12 05:26:55 (EST)
committer P. J. McDermott <pjm@nac.net>2013-11-12 05:26:55 (EST)
commitdc7d12e55a83e281ad775fd389fdd4841776c67e (patch)
tree9cf5124a426c18ee3918ff676af0271ed35d6759
parent6643acfb8c8dc9d5bb248e817d9296c30feccc1d (diff)
downloadoverworld-rpg-dc7d12e55a83e281ad775fd389fdd4841776c67e.zip
overworld-rpg-dc7d12e55a83e281ad775fd389fdd4841776c67e.tar.gz
overworld-rpg-dc7d12e55a83e281ad775fd389fdd4841776c67e.tar.bz2
data/palettes/local.mk: New file.
-rw-r--r--Makefile.am1
-rw-r--r--data/local.mk1
-rw-r--r--data/palettes/local.mk15
3 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index dd4d639..92a2356 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
mapsdir = $(pkgdatadir)/maps
+palettesdir = $(pkgdatadir)/palettes
tilesetsdir = $(pkgdatadir)/tilesets
bin_PROGRAMS = sdlex
diff --git a/data/local.mk b/data/local.mk
index 1c94750..46d0c8a 100644
--- a/data/local.mk
+++ b/data/local.mk
@@ -1,2 +1,3 @@
include $(top_srcdir)/data/maps/local.mk
+include $(top_srcdir)/data/palettes/local.mk
include $(top_srcdir)/data/tilesets/local.mk
diff --git a/data/palettes/local.mk b/data/palettes/local.mk
new file mode 100644
index 0000000..df33a16
--- /dev/null
+++ b/data/palettes/local.mk
@@ -0,0 +1,15 @@
+dist_palettes_DATA = \
+ data/palettes/day.gpl \
+ data/palettes/eve.gpl \
+ data/palettes/main.gpl \
+ data/palettes/morn.gpl \
+ data/palettes/night.gpl
+
+DISTCLEANFILES += \
+ data/palettes/$(am__dirstamp)
+
+$(dist_palettes_DATA): data/palettes/$(am__dirstamp)
+
+data/palettes/$(am__dirstamp):
+ @$(MKDIR_P) data/palettes
+ @: > data/palettes/$(am__dirstamp)