use strict;
use vars qw($VERSION);
-$VERSION = '%%%VERSION%%%';
+$VERSION = '3.0git';
#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
FREESIDE_PATH = `pwd`
PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.14.2/
-VERSION=3.0git
-TAG=freeside_3_0
+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
[ -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; \