shithub: pokecrystal

Download patch

ref: b8da3874bbc06e858b7b2d7a602fe33baa046e93
parent: b74abd7c21c3735a8010e5a9c6022936d9cd18b2
author: yenatch <yenatch@gmail.com>
date: Mon Aug 31 20:19:28 EDT 2015

Add an `init` makefile target to prevent data that can't be reasonably reproduced from being rebuilt.

This is only meant to be run once.

--- a/INSTALL.md
+++ b/INSTALL.md
@@ -12,6 +12,7 @@
 	git clone --recursive git://github.com/kanzure/pokecrystal.git
 	easy_install pypng
 	cd pokecrystal
+	make init
 
 To build **pokecrystal.gbc**:
 
@@ -36,6 +37,7 @@
 	git clone --recursive git://github.com/kanzure/pokecrystal.git
 	easy_install pypng
 	cd pokecrystal
+	make init
 
 To build **pokecrystal.gbc**:
 
@@ -56,6 +58,7 @@
 	git clone --recursive git://github.com/kanzure/pokecrystal.git
 	easy_install pypng
 	cd pokecrystal
+	make init
 
 To build:
 
@@ -77,7 +80,7 @@
 	cd vagrantbox
 	vagrant init pokecrystal
 	vagrant up
-	vagrant ssh -c "cd /vagrant && git clone --recursive git://github.com/kanzure/pokecrystal.git"
+	vagrant ssh -c "cd /vagrant && git clone --recursive git://github.com/kanzure/pokecrystal.git && cd pokecrystal && make init"
 	vagrant ssh
 ```
 
--- a/Makefile
+++ b/Makefile
@@ -79,6 +79,11 @@
 	find . -iname "*.[12]bpp" -exec touch {} \;
 	find . -iname "*.lz"      -exec touch {} \;
 
+init:
+	find . -iname "*.[12]bpp" -exec touch {} \;
+	find . -iname "*.lz"      -exec touch {} \;
+
+
 %.2bpp: %.png ; $(gfx) 2bpp $<
 %.1bpp: %.png ; $(gfx) 1bpp $<
 %.lz:   %     ; $(gfx) lz $<