Mercurial > hg > batmud > maputils
changeset 1514:835360392879
Add target for automatically running Gimp for PNG post-processing.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 08 Feb 2015 20:02:21 +0200 |
parents | 40072474dd4a |
children | 677002de7795 |
files | maps/Makefile |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/maps/Makefile Sun Feb 08 19:49:15 2015 +0200 +++ b/maps/Makefile Sun Feb 08 20:02:21 2015 +0200 @@ -19,6 +19,7 @@ @echo " A diff -u of new and old location files is outputted." @echo "upload: Uploads map and loc-files via SCP to server specified in" @echo " ../config.mak" + @echo "gimp : Execute Gimp with all PNG targets for post-processing." @echo "clean : Delete all the generated files." @echo @@ -41,6 +42,11 @@ scp -C $? $(UPURL) touch $@ +# Open PNG files in Gimp +gimp: $(addsuffix .png,$(MAPLIST)) + gimp $+ + touch $@ + # Upload only *.loc files uploc: *.loc scp $+ $(UPURL)