From: <ck...@us...> - 2007-09-17 16:50:33
|
Revision: 17058 http://gallery.svn.sourceforge.net/gallery/?rev=17058&view=rev Author: ckdake Date: 2007-09-17 09:50:34 -0700 (Mon, 17 Sep 2007) Log Message: ----------- Updated makefile to package G1 releases with the version included in the folder name. This will prevent overwriting an existing gallery directory's contents (people have done this accidentally more than a couple of times) Modified Paths: -------------- trunk/packaging/gallery1/Makefile Modified: trunk/packaging/gallery1/Makefile =================================================================== --- trunk/packaging/gallery1/Makefile 2007-09-17 15:49:23 UTC (rev 17057) +++ trunk/packaging/gallery1/Makefile 2007-09-17 16:50:34 UTC (rev 17058) @@ -10,9 +10,11 @@ ZIPBALL = gallery-$(shell ${VERSION_CODE}).zip package: ${TARDIR} ${TARDIR}/gallery - (cd $(TARDIR)/gallery && php -f tools/build_manifest.php) && \ - (cd ${TARDIR} && tar czf ${TARBALL} gallery) && \ - (cd ${TARDIR} && zip -r ${ZIPBALL} gallery) + (cd $(TARDIR) && mv gallery gallery-$(shell ${VERSION_CODE})) && \ + (cd $(TARDIR) && ln -s gallery-$(shell ${VERSION_CODE}) gallery) && \ + (cd $(TARDIR)/gallery-$(shell ${VERSION_CODE}) && php -f tools/build_manifest_1_4.php) && \ + (cd ${TARDIR} && tar czf ${TARBALL} gallery-$(shell ${VERSION_CODE})) && \ + (cd ${TARDIR} && zip -r ${ZIPBALL} gallery-$(shell ${VERSION_CODE})) # Export the gallery module, generate the docs and copy them into the exported gallery # This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |