X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=8f577c5794543b934c2a35106379bec5ace9d557;hp=e5b6ad1ac0155c7f1a12ae5e73c96fc464a59de4;hb=11f0302c9846fb763794f7383c3b1b65e6cb5d34;hpb=69c6e80a7253f927af1780a3e0dd3fcf50110599 diff --git a/Makefile b/Makefile index e5b6ad1ac..8f577c579 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ QUEUED_RESTART = /etc/init.d/freeside restart #not changable yet FREESIDE_CONF = /usr/local/etc/freeside +VERSION="1.4.0pre12" +TAG="1_4_0_PRE12" + help: @echo "supported targets: aspdocs masondocs alldocs docs install-docs" @echo " htmlman" @@ -34,8 +37,7 @@ aspdocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* cp -pr httemplate aspdocs touch aspdocs -#masondocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/* -masondocs: httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/* +masondocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/* rm -rf masondocs cp -pr httemplate masondocs ( cd masondocs; \ @@ -53,11 +55,8 @@ htmlman: [ -e ./httemplate/docs/man/bin ] || mkdir httemplate/docs/man/bin [ -e ./httemplate/docs/man/FS ] || mkdir httemplate/docs/man/FS [ -e ./httemplate/docs/man/FS/UI ] || mkdir httemplate/docs/man/FS/UI - bin/pod2x + [ -e DONT_REBUILD_DOCS ] || bin/pod2x -upload-docs: - ssh cleanwhisker.420.am rm -rf /var/www/www.sisd.com/freeside/devdocs - scp -pr httemplate/docs cleanwhisker.420.am:/var/www/www.sisd.com/freeside/devdocs install-docs: docs [ -e ${FREESIDE_DOCUMENT_ROOT} ] && mv ${FREESIDE_DOCUMENT_ROOT} ${FREESIDE_DOCUMENT_ROOT}.`date +%Y%m%d%H%M%S` || true @@ -115,3 +114,24 @@ clean: cd FS; \ make clean +#these are probably only useful if you're me... + +upload-docs: + ssh cleanwhisker.420.am rm -rf /var/www/www.sisd.com/freeside/devdocs + scp -pr httemplate/docs cleanwhisker.420.am:/var/www/www.sisd.com/freeside/devdocs + +release: upload-docs + cd /home/ivan/freeside_current + cvs tag ${TAG} + + cd /home/ivan + cvs export -r $TAG -d freeside-${VERSION} freeside + tar czvf freeside-${VERSION}.tar.gz freeside-${VERSION} + + scp freeside-${VERSION} ivan@cleanwhisker.420.am:/var/www/sisd.420.am/freeside/ + +update-webdemo: + ssh ivan@pouncequick.420.am '( cd freeside; cvs update -d -P )' + #ssh root@pouncequick.420.am '( cd /home/ivan/freeside; make clean; make deploy )' + ssh root@pouncequick.420.am '( cd /home/ivan/freeside; make deploy )' +