X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=10b96e25d49eb7efd57fd28c11bdb0df65fa35b9;hb=32da33792be36b93ce982e9191aaa305d697e1e9;hp=cc1e6799735cdac93249ba804baedeb344fde79a;hpb=85f9d5b4d835bfa9fb00c6f3a01a6d7c4ff8e834;p=freeside.git diff --git a/Makefile b/Makefile index cc1e67997..10b96e25d 100644 --- a/Makefile +++ b/Makefile @@ -123,8 +123,8 @@ RT_PATH = /opt/rt3 FREESIDE_PATH = `pwd` PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.10.0/ -VERSION=1.9.0cvs -TAG=freeside_1_9_0 +VERSION=2.1.0cvs +TAG=freeside_2_1_0 DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1 @@ -200,9 +200,11 @@ perl-modules: perl -p -i -e "\ s/%%%SELFSERVICE_USER%%%/${SELFSERVICE_USER}/g;\ s/%%%SELFSERVICE_MACHINES%%%/${SELFSERVICE_MACHINES}/g;\ + s|%%%FREESIDE_EXPORT%%%|${FREESIDE_EXPORT}|g;\ " blib/lib/FS/Cron/*.pm;\ perl -p -i -e "\ s|%%%FREESIDE_EXPORT%%%|${FREESIDE_EXPORT}|g;\ + s|%%%FREESIDE_LOG%%%|${FREESIDE_LOG}|g;\ " blib/lib/FS/part_export/*.pm;\ perl -p -i -e "\ s|%%%FREESIDE_CACHE%%%|${FREESIDE_CACHE}|g;\ @@ -312,12 +314,6 @@ create-config: install-perl-modules chmod 600 ${FREESIDE_CONF}/secrets 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}" - cp `ls -d conf/[a-z]* | grep -v CVS` "${FREESIDE_CONF}/conf.${DATASOURCE}" - chown -R freeside "${FREESIDE_CONF}/conf.${DATASOURCE}" - mkdir "${FREESIDE_CACHE}/counters.${DATASOURCE}" chown freeside "${FREESIDE_CACHE}/counters.${DATASOURCE}" @@ -331,7 +327,8 @@ create-config: install-perl-modules install -d $(DIST_CONF) #install conf/[a-z]* $(DEFAULT_CONF) #CVS is not [a-z] - install `ls -d conf/[a-z]* | grep -v CVS` $(DIST_CONF) + install `ls -d conf/[a-z]* | grep -v CVS | grep -v '^conf/registries'` $(DIST_CONF) + configure-rt: cd rt; \ @@ -387,12 +384,13 @@ clean: .PHONY: release release: # Update the changelog - ./CVS2CL + ./bin/cvs2cl 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} + perl -p -i -e "s/\d+[^\}]+/1/ if /%define\s+release\s+(\d+[^\}]+)\}/;" ${RPM_SPECFILE} cvs commit -m "Updated for ${VERSION}" ${RPM_SPECFILE} # Update the Debian changelog