all taxes now have names. closes: Bug#15
[freeside.git] / Makefile
index 3f5e18d..b971427 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,10 +40,8 @@ SIGNUP_REFNUM = 2
 #not changable yet
 FREESIDE_CONF = /usr/local/etc/freeside
 
-#VERSION=1.4.0pre14
-#TAG=freeside_1_4_0_pre14
-VERSION=1.4.0beta1
-TAG=freeside_1_4_0_beta1
+VERSION=1.5.0pre1
+TAG=freeside_1_5_0pre1
 
 help:
        @echo "supported targets: aspdocs masondocs alldocs docs install-docs"
@@ -56,14 +54,21 @@ help:
 aspdocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/*
        rm -rf aspdocs
        cp -pr httemplate aspdocs
+       perl -p -i -e "\
+         s/%%%VERSION%%%/${VERSION}/g;\
+       " aspdocs/index.html
        touch aspdocs
 
+
 masondocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/*
        rm -rf masondocs
        cp -pr httemplate masondocs
        ( cd masondocs; \
          ../bin/masonize; \
        )
+       perl -p -i -e "\
+         s/%%%VERSION%%%/${VERSION}/g;\
+       " masondocs/index.html
        touch masondocs
 
 alldocs: aspdocs masondocs
@@ -140,6 +145,7 @@ create-config: install-perl-modules
        chown freeside ${FREESIDE_CONF}/secrets
 
        mkdir "${FREESIDE_CONF}/conf.${DATASOURCE}"
+       rm -rf conf/registries #old dirs just won't go away
        cp conf/[a-z]* "${FREESIDE_CONF}/conf.${DATASOURCE}"
        chown -R freeside "${FREESIDE_CONF}/conf.${DATASOURCE}"
 
@@ -164,7 +170,7 @@ upload-docs: forcehtmlman
        scp -pr httemplate/docs cleanwhisker.420.am:/var/www/www.sisd.com/freeside/devdocs
 
 release: upload-docs
-       cd /home/ivan/freeside_current
+       cd /home/ivan/freeside
        #cvs tag ${TAG}
        cvs tag -F ${TAG}