not here
[freeside.git] / Makefile
index 81cefdc..e1b7056 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -118,7 +118,7 @@ PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.8.8/
 VERSION=1.9.0cvs
 TAG=freeside_1_9_0
 
-DEBVERSION = `echo $VERSION | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
+DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1
 
 help:
        @echo "supported targets:"
@@ -356,10 +356,12 @@ release:
        cvs commit -m "Updated for ${VERSION}" ChangeLog
 
        # Update the RPM specfile
+       cvs edit ${RPM_SPECFILE}
        perl -p -i -e "s/\d+[^\}]+/${VERSION}/ if /%define\s+version\s+(\d+[^\}]+)\}/;" ${RPM_SPECFILE}
        cvs commit -m "Updated for ${VERSION}" ${RPM_SPECFILE}
 
        # Update the Debian changelog
+       cvs edit debian/changelog
        dch -v ${DEBVERSION} -p "New upstream release"
        cvs commit -m "Updated for ${VERSION}" debian/changelog