diff options
author | P. J. McDermott <pjm@nac.net> | 2013-02-20 06:37:07 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-02-20 06:47:26 (EST) |
commit | 46a5952de18f4585dac2a2b0962c269344c62be4 (patch) | |
tree | ec64bbc0551329c57877e91c6c2b18b4e3783b7f /data | |
parent | 029cadafc8f1be2949b92548b3407e0eff956df8 (diff) | |
download | overworld-rpg-46a5952de18f4585dac2a2b0962c269344c62be4.zip overworld-rpg-46a5952de18f4585dac2a2b0962c269344c62be4.tar.gz overworld-rpg-46a5952de18f4585dac2a2b0962c269344c62be4.tar.bz2 |
Improve build system.
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 8 | ||||
-rw-r--r-- | data/tilesets/Makefile.am | 24 | ||||
-rw-r--r-- | data/tilesets/collision.png | bin | 209 -> 0 bytes | |||
-rw-r--r-- | data/tilesets/mountain_landscape_19-16.png | bin | 149736 -> 0 bytes |
4 files changed, 32 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..dae37c2 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,8 @@ +include $(top_srcdir)/data/tilesets/Makefile.am + +dist_data_DATA = \ + data/forest1-8bit.tmx \ + data/town1.tmx \ + data/town2.tmx + +clean-local-data: clean-local-data-tilesets diff --git a/data/tilesets/Makefile.am b/data/tilesets/Makefile.am new file mode 100644 index 0000000..3c2782d --- /dev/null +++ b/data/tilesets/Makefile.am @@ -0,0 +1,24 @@ +tilesets_sources = \ + data/tilesets/collision.xcf \ + data/tilesets/mountain_landscape_19-16-8bit.xcf + +tilesetsdir = $(datadir)/tilesets + +tilesets_DATA = \ + data/tilesets/collision.png \ + data/tilesets/mountain_landscape_19-16-8bit.png + data/tilesets/collision.tsx + +EXTRA_DIST = $(tilesets_sources) + +data/tilesets/$(am__dirstamp): + @$(MKDIR_P) data/tilesets + @: > data/tilesets/$(am__dirstamp) + +$(tilesets_DATA): data/tilesets/$(am__dirstamp) + +.xcf.png: + $(XCF2PNG) -f -o $@ $< + +clean-local-data-tilesets: + -rm -f data/tilesets/*.png diff --git a/data/tilesets/collision.png b/data/tilesets/collision.png Binary files differdeleted file mode 100644 index 6d9a18b..0000000 --- a/data/tilesets/collision.png +++ /dev/null diff --git a/data/tilesets/mountain_landscape_19-16.png b/data/tilesets/mountain_landscape_19-16.png Binary files differdeleted file mode 100644 index 54e619c..0000000 --- a/data/tilesets/mountain_landscape_19-16.png +++ /dev/null |