better error reporting
[freeside.git] / Makefile
index 0143262..be4e9db 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,17 @@ INIT_FILE = /etc/init.d/freeside
 HTTPD_RESTART = /etc/init.d/apache restart
 FREESIDE_RESTART = /etc/init.d/freeside restart
 
+INSTALLGROUP = root
+
 #---
 
 #not changable yet
 FREESIDE_CONF = /usr/local/etc/freeside
 
-VERSION=1.4.0pre12
-TAG=freeside_1_4_0_pre12
+VERSION=1.4.0pre13
+TAG=freeside_1_4_0_pre13
+#VERSION=1.4.0beta1
+#TAG=freeside_1_4_0_beta1
 
 help:
        @echo "supported targets: aspdocs masondocs alldocs docs install-docs"
@@ -77,7 +81,8 @@ install-perl-modules: perl-modules
        make install UNINST=1
 
 install-init:
-       [ -e ${INIT_FILE} ] || install -o root -g root -m 711 init.d/freeside-init ${INIT_FILE}
+       #[ -e ${INIT_FILE} ] || install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE}
+       install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE}
 
 install: install-perl-modules install-docs install-init
 
@@ -130,11 +135,12 @@ release: upload-docs
        #cvs tag ${TAG}
        cvs tag -F ${TAG}
 
-       cd /home/ivan
+       #cd /home/ivan
        cvs export -r ${TAG} -d freeside-${VERSION} freeside
        tar czvf freeside-${VERSION}.tar.gz freeside-${VERSION}
 
        scp freeside-${VERSION}.tar.gz ivan@cleanwhisker.420.am:/var/www/sisd.420.am/freeside/
+       mv freeside-${VERSION} freeside-${VERSION}.tar.gz ..
 
 update-webdemo:
        ssh ivan@pouncequick.420.am '( cd freeside; cvs update -d -P )'