-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from carstene1ns/helpers
Some helpers
- Loading branch information
Showing
6 changed files
with
111 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# ignore Makefile for distribution archives | ||
/Makefile export-ignore | ||
|
||
# ignore .gitignore and this file (the .gitignore files in subdirectories | ||
# are not really used, but just a way to track empty directories) | ||
.gitignore export-ignore | ||
.gitattributes export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
# distribution archives | ||
easyrpg-rtp.zip | ||
easyrpg-rtp.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
Authors | ||
======= | ||
|
||
The following EasyRPG RTP materials are licensed under a | ||
Creative Commons Attribution 4.0 International license. | ||
|
||
License URL: http://creativecommons.org/licenses/by/4.0/ | ||
|
||
Asset path | (c) year Author | author URL | ||
----------------------------|-----------------------------------|------------------------------------ | ||
BattleWeapon/weapons.png | (c) 2010 russidan (Alephman) | | ||
CharSet/Chara1.png | (c) 2010 Marina Navarro Travesset | http://muerteatartajo.blogspot.com/ | ||
ChipSet/Basis.png | (c) 2014 MrBeast, Stephen Challener (Redshrike) [CC-BY, commissioned by OpenGameArt], Carl Olsson (surt), Ogrebane, Garrett Wessner (Gwes), Dmytro Kushnariov (jikmok) [CC0] | http://opengameart.org/ | ||
Music/Battle1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/BattleEnd1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/BattleEnd2.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/BattleEnd3.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/BattleEnd4.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Castle1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Church.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Doubt.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Dungeon1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Ending2.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Fanfare1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Fanfare2.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Fanfare3.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Fanfare4.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Fanfare5.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Fanfare6.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Field1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Gag1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Gag2.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/GameOver1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Inn1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Inn2.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Item.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Mystery.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Opening2.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Riddle.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Ride1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Sad.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Music/Town1.mid | (c) 2010 Juan Manuel Nigretti | http://goodgameaudio.com.ar/ | ||
Panorama/dawn1.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/dawn2.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/dusk1.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/dusk2.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/night1.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/night2.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/planet1.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/planet2.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/planet3.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/sky1.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/sky2.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/space.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Panorama/strange.png | (c) 2015 Tom Lemmens | https://github.com/lemtom | ||
Title/Title1.png | (c) 2010 Francisco de la Peña | https://easy-rpg.org/ | ||
Title/Title2.png | (c) 2010 Francisco de la Peña | https://easy-rpg.org/ | ||
Title/Title3.png | (c) 2010 Francisco de la Peña | https://easy-rpg.org/ | ||
Title/Title4.png | (c) 2010 Francisco de la Peña | https://easy-rpg.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
# helper variables | ||
MYDIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | ||
.PHONY: help dist dist-zip dist-tar optimize optimize-png | ||
|
||
help: | ||
@echo "This Makefile is intended to be used by developers only." | ||
@echo "Therefore it does nothing by default. Available targets:" | ||
@echo " optimize" | ||
@echo " -png : Recompresses png files with zopfli for smaller file size" | ||
@echo " dist" | ||
@echo " -zip : Creates a distribution zip archive (for use under Windows)" | ||
@echo " -tar : Creates a distribution tarball (for other platforms)" | ||
@echo "The meta targets will execute all their subtargets." | ||
|
||
dist: dist-tar dist-zip | ||
|
||
dist-zip: | ||
@rm -f easyrpg-rtp.zip | ||
@rm -rf dist-zip | ||
@mkdir dist-zip | ||
@git archive --prefix=EasyRPG-RTP/ --worktree-attributes master | tar xf - -C dist-zip | ||
@cd dist-zip/EasyRPG-RTP; mv README.md README.txt; mv AUTHORS.md AUTHORS.txt; mv COPYING COPYING.txt; \ | ||
unix2dos -q COPYING.txt README.txt AUTHORS.txt | ||
@cd dist-zip; zip -9 -q -r $(MYDIR)/easyrpg-rtp.zip EasyRPG-RTP | ||
@rm -rf dist-zip | ||
|
||
dist-tar: | ||
@rm -f easyrpg-rtp.tar.gz | ||
@rm -rf dist-tar | ||
@mkdir dist-tar | ||
@git archive --prefix=EasyRPG-RTP/ --worktree-attributes master | tar xf - -C dist-tar | ||
@cd dist-tar/EasyRPG-RTP; mv README.md README; mv AUTHORS.md AUTHORS | ||
@tar czf easyrpg-rtp.tar.gz -C dist-tar EasyRPG-RTP | ||
@rm -rf dist-tar | ||
|
||
optimize: optimize-png | ||
|
||
optimize-png: | ||
find $(MYDIR) -iname "*.png" -execdir advpng -z4 {} \+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters