From: Beckett Madden-W. <bec...@us...> - 2003-08-30 21:55:35
|
Update of /cvsroot/gallery/packaging/gallery1 In directory sc8-pr-cvs1:/tmp/cvs-serv20354 Modified Files: Makefile Log Message: Fixed several small errors. Index: Makefile =================================================================== RCS file: /cvsroot/gallery/packaging/gallery1/Makefile,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Makefile 30 Aug 2003 21:47:54 -0000 1.8 +++ Makefile 30 Aug 2003 21:55:32 -0000 1.9 @@ -1,11 +1,11 @@ # $Id$ BRANCH = HEAD - TARDIR = tardir CVS = cvs -z3 -d ${CVSROOT} -TARBALL = cat gallery/Version.php | perl -ne 'if (/\$$gallery->version.*"(.*)"/) { ($$x = $$1) =~ s/ //g; print "gallery-$$x.tgz"; }' +TARBALL = cat gallery/Version.php | perl -ne 'if (/\$$gallery->version.*"(.*)"/) { ($$x = $$1) =~ s/ //g; print "gallery-$$x.tar.gz"; }' +ZIPBALL = cat gallery/Version.php | perl -ne 'if (/\$$gallery->version.*"(.*)"/) { ($$x = $$1) =~ s/ //g; print "gallery-$$x.zip"; }' package: @if [ -z "${CVSROOT}" ]; then \ @@ -19,10 +19,11 @@ (cd ${TARDIR} && ${CVS} export -r ${BRANCH} gallery) && \ mv ${TARDIR}/docs/dist/g1package ${TARDIR}/gallery/docs && \ (cd ${TARDIR} && tar czf ../`${TARBALL}` gallery) && \ + (cd ${TARDIR} && zip ../`${ZIPBALL}` gallery) && \ /bin/rm -rf ${TARDIR} export: - ncftpput -u anonymous -p gallery@ upload.sourceforge.net /incoming `${TARBALL}` + ncftpput -u anonymous -p gallery@ upload.sourceforge.net /incoming `${TARBALL}` `${ZIPBALL}` clean: - rm -fr ${TARDIR} *.tgz + rm -fr ${TARDIR} `${TARBALL}` `${ZIPBALL}` |