diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-06-02 16:46:23 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-06-02 16:46:23 -0700 |
| commit | cc5ca73c6c5b391d6e27fa60cb586581de953d4e (patch) | |
| tree | b23f86d4af35eb2d9d3a995b09fc9d351b256861 | |
| parent | fe6f5882d1e745aa7d01758caf29d6ae1f7e137b (diff) | |
keep version in FS.pm instead of Makefile
| -rw-r--r-- | FS/FS.pm | 2 | ||||
| -rw-r--r-- | Makefile | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -3,7 +3,7 @@ package FS; use strict; use vars qw($VERSION); -$VERSION = '%%%VERSION%%%'; +$VERSION = '2.3.3'; #find missing entries in this file with: # for a in `ls *pm | cut -d. -f1`; do grep 'L<FS::'$a'>' ../FS.pm >/dev/null || echo "missing $a" ; done @@ -115,8 +115,8 @@ RT_PATH = /opt/rt3 FREESIDE_PATH = `pwd` PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.14.2/ -VERSION=2.3.3git -TAG=freeside_2_3_3 +VERSION=`grep '^$VERSION' FS/FS.pm | cut -d\' -f2` +TAG=freeside_`echo ${VERSION} | perl -pe 's/\./_/g'` DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1 @@ -180,9 +180,6 @@ perl-modules: [ -e Makefile ] || perl Makefile.PL; \ make; \ perl -p -i -e "\ - s/%%%VERSION%%%/${VERSION}/g;\ - " blib/lib/FS.pm;\ - perl -p -i -e "\ s|%%%FREESIDE_CONF%%%|${FREESIDE_CONF}|g;\ s|%%%FREESIDE_CACHE%%%|${FREESIDE_CACHE}|g;\ s'%%%FREESIDE_DOCUMENT_ROOT%%%'${FREESIDE_DOCUMENT_ROOT}'g; \ |
