Subversion Repositories pspware

Rev

Rev 208 | Rev 231 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
128 shine 1
TARGET = luaplayer
189 nevyn 2
VERSION = 0.10
128 shine 3
 
208 nevyn 4
RELEASEF = "LuaPlayer v$(VERSION)"
5
RELEASEFOLDER = build/$(RELEASEF)
185 nevyn 6
 
189 nevyn 7
PSP_EBOOT_TITLE = Lua Player v$(VERSION)
128 shine 8
PSP_EBOOT_ICON = title-icon.png
9
 
210 shine 10
include Makefile.psp.common
189 nevyn 11
 
208 nevyn 12
release: all kxploit # note - does not include binary; see release10 & 15
13
	mkdir -p $(RELEASEFOLDER)/luaplayer
189 nevyn 14
	cp -R Applications $(RELEASEFOLDER)/luaplayer/
208 nevyn 15
	cp -R System $(RELEASEFOLDER)/luaplayer/
189 nevyn 16
	cp -R doc $(RELEASEFOLDER)/Documentation
17
	cp -R samples $(RELEASEFOLDER)/Samples
208 nevyn 18
	cp -R Readme* $(RELEASEFOLDER)/
189 nevyn 19
	cp -R CHANGELOG $(RELEASEFOLDER)/Changes.txt
20
	cp -R KNOWN\ BUGS $(RELEASEFOLDER)/Known\ bugs.txt
21
	cp -R LICENSE $(RELEASEFOLDER)/License.txt
22
	-find $(RELEASEFOLDER) -name ".svn" -exec rm -rfv '{}' ";"
23
 
208 nevyn 24
release10: release
25
	cp -R EBOOT.PBP $(RELEASEFOLDER)/luaplayer
26
	-cd build && zip -r "LuaPlayer_v$(VERSION)_firmware10".zip $(RELEASEF)
27
 
28
release15: release
29
	cp -R luaplayer $(RELEASEFOLDER)/
30
	cp -R luaplayer% $(RELEASEFOLDER)/
31
	-cd build && zip -r "LuaPlayer_v$(VERSION)_firmware15".zip $(RELEASEF)
189 nevyn 32
 
208 nevyn 33
release-all: release10 release15
34
 
35
nightly10: release10
36
	mv build/"LuaPlayer_v$(VERSION)_firmware10".zip build/"LuaPlayer_`date +"%Y%m%d"`_firmware10".zip
37
	/usr/local/bin/svn info | grep "Last Changed" > build/nightly-info
38
	zip -m build/"LuaPlayer_`date +"%Y%m%d"`_firmware10".zip build/nightly-info
39
 
40
nightly15: release15 nightly
41
	mv build/"LuaPlayer_v$(VERSION)_firmware15".zip build/"LuaPlayer_`date +"%Y%m%d"`_firmware15".zip
42
	/usr/local/bin/svn info | grep "Last Changed" > build/nightly-info
43
	zip -m build/"LuaPlayer_`date +"%Y%m%d"`_firmware15".zip build/nightly-info
44
 
45
nightly-all: nightly10 nightly15
46
 
47
clean-builds:
189 nevyn 48
	-rm -rf luaplayer luaplayer%
208 nevyn 49
	-rm -rf build
189 nevyn 50
 
208 nevyn 51
clean-all: clean-builds clean
52
 
189 nevyn 53
install: all kxploit
54
	cp -R luaplayer /Volumes/Untitled/PSP/GAME/
55
	cp -R luaplayer% /Volumes/Untitled/PSP/GAME/
210 shine 56
	cp -R System/system.lua /Volumes/Untitled/PSP/GAME/luaplayer/System/