X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=3a8c7359f8c92ce0d28a737276b53fd9cd868bee;hb=93ef7394a93db7b5543d60e93a074db52fa5ddfa;hp=17a92c5f77a144bcfbb62632e39ef10c7b2858e7;hpb=172475d501cf77fa76b35fa2cbb64183b845cd67;p=freeside.git diff --git a/Makefile b/Makefile index 17a92c5f7..3a8c7359f 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,8 @@ FREESIDE_URL = "http://localhost/freeside/" #for now, same db as specified in DATASOURCE... eventually, otherwise? RT_DB_DATABASE = freeside +RPM_SPECFILE = rpm/freeside.spec + #--- @@ -232,6 +234,7 @@ install-apache: ( [ ${RT_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-rt.conf ${APACHE_CONF} || true ) && \ perl -p -i -e "\ s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \ + s'%%%FREESIDE_CONF%%%'${FREESIDE_CONF}'g; \ s'%%%MASON_HANDLER%%%'${MASON_HANDLER}'g; \ " ${APACHE_CONF}/freeside-*.conf \ ) || true @@ -346,6 +349,11 @@ clean: #release: upload-docs release: cd /home/ivan/freeside + + # Update the 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} + #cvs tag ${TAG} cvs tag -F ${TAG}