Updated release.mk according to all the changes over the last few months, and to create .tar.gz files instead of .zip

This commit is contained in:
Richard Goedeken 2009-01-04 00:52:19 +00:00
parent 037b23b386
commit 4e2b95acbd

View file

@ -73,7 +73,7 @@ src: FORCE
rm -f ../$(SRCNAME)/*~
rm -f ../$(SRCNAME)/*.cache
# zip it up and delete the directory
cd .. ; zip -r $(SRCNAME).zip $(SRCNAME)
cd .. ; tar c $(SRCNAME) | gzip > $(SRCNAME).tar.gz
rm -rf ../$(SRCNAME)
bin-32: FORCE
@ -89,22 +89,24 @@ bin-32: FORCE
mkdir ../$(BINNAME_32)/icons
mkdir ../$(BINNAME_32)/lang
mkdir ../$(BINNAME_32)/plugins
mkdir ../$(BINNAME_32)/roms
# copy files into binary structure
cp ./mupen64plus ../$(BINNAME_32)/
cp ./mupen64plus.ini ../$(BINNAME_32)/
cp ./*.sh ../$(BINNAME_32)/
cp ./*.TXT ../$(BINNAME_32)/
cp ./*.desktop ../$(BINNAME_32)/
cp ./README ../$(BINNAME_32)/
cp ./RELEASE ../$(BINNAME_32)/
cp ./LICENSES ../$(BINNAME_32)/
cp ./GPL ../$(BINNAME_32)/
cp ./config/* ../$(BINNAME_32)/config
cp ./doc/* ../$(BINNAME_32)/doc
cp ./fonts/* ../$(BINNAME_32)/fonts
cp ./icons/* ../$(BINNAME_32)/icons
cp -R ./icons/* ../$(BINNAME_32)/icons
cp ./lang/* ../$(BINNAME_32)/lang
cp ./plugins/*.so ../$(BINNAME_32)/plugins
cp ./roms/*.gz ../$(BINNAME_32)/roms
# zip it up and delete the directory
cd .. ; zip -r $(BINNAME_32).zip $(BINNAME_32)
cd .. ; tar c $(BINNAME_32) | gzip > $(BINNAME_32).tar.gz
rm -rf ../$(BINNAME_32)
bin-64: FORCE
@ -120,22 +122,24 @@ bin-64: FORCE
mkdir ../$(BINNAME_64)/icons
mkdir ../$(BINNAME_64)/lang
mkdir ../$(BINNAME_64)/plugins
mkdir ../$(BINNAME_64)/roms
# copy files into binary structure
cp ./mupen64plus ../$(BINNAME_64)/
cp ./mupen64plus.ini ../$(BINNAME_64)/
cp ./*.sh ../$(BINNAME_64)/
cp ./*.TXT ../$(BINNAME_64)/
cp ./*.desktop ../$(BINNAME_64)/
cp ./README ../$(BINNAME_64)/
cp ./RELEASE ../$(BINNAME_64)/
cp ./LICENSES ../$(BINNAME_64)/
cp ./GPL ../$(BINNAME_64)/
cp ./config/* ../$(BINNAME_64)/config
cp ./doc/* ../$(BINNAME_64)/doc
cp ./fonts/* ../$(BINNAME_64)/fonts
cp ./icons/* ../$(BINNAME_64)/icons
cp -R ./icons/* ../$(BINNAME_64)/icons
cp ./lang/* ../$(BINNAME_64)/lang
cp ./plugins/*.so ../$(BINNAME_64)/plugins
cp ./roms/*.gz ../$(BINNAME_64)/roms
# zip it up and delete the directory
cd .. ; zip -r $(BINNAME_64).zip $(BINNAME_64)
cd .. ; tar c $(BINNAME_64) | gzip > $(BINNAME_64).tar.gz
rm -rf ../$(BINNAME_64)
FORCE: