Last try at multiplatform Makefile. If this don't work, revert my change and I'll add my windows-only packaging instructions as a new make target.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1205 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
af8e34c0d2
commit
c6a783c741
2
Makefile
2
Makefile
@ -338,7 +338,7 @@ release : version $(BIN)
|
||||
|
||||
# Create a zip archive ready for upload to the website, including binaries and sourcecode
|
||||
ziprelease: version $(BIN) release
|
||||
echo `sed "s/.*=\"\\\(.*\\\)\";/\1/" pversion.c`.`svnversion` | tr " :" "_-" | sed -e s/\\\(wip\\\)\\\\./\\1/I > $(OBJDIR)/versiontag
|
||||
echo `sed "s/.*=\"\\\(.*\\\)\";/\1/" pversion.c`.`svnversion` | tr " :" "_-" | sed -e "s/\\\(wip\\\)\\\\./\\1/I" > $(OBJDIR)/versiontag
|
||||
|
||||
tar cvzf "src-`cat $(OBJDIR)/versiontag`.tgz" --transform 's,^,src/,g' *.c *.h Makefile Makefile.dep gfx2.ico
|
||||
$(ZIP) $(ZIPOPT) "grafx2-`cat $(OBJDIR)/versiontag`$(TTFLABEL)-$(PLATFORM).$(ZIP)" $(BIN) gfx2def.ini scripts/test.lua $(SKIN_FILES) gfx2.gif doc/README.txt doc/COMPILING.txt doc/gpl-2.0.txt fonts/8pxfont.png doc/README-zlib1.txt doc/README-SDL.txt doc/README-SDL_image.txt doc/README-SDL_ttf.txt doc/README-lua.txt fonts/Tuffy.ttf src-`cat $(OBJDIR)/versiontag`.tgz $(PLATFORMFILES)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user