From: Ivan Kohler Date: Sun, 3 Jun 2012 00:24:11 +0000 (-0700) Subject: keep version in FS.pm instead of Makefile X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=77a69265cf7d270227ee24ddfa88c0df2a505112 keep version in FS.pm instead of Makefile --- diff --git a/Makefile b/Makefile index b1be09da6..2ddf7b687 100644 --- a/Makefile +++ b/Makefile @@ -116,12 +116,18 @@ FREESIDE_PATH = `pwd` PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.14.2/ VERSION := `grep '^$$VERSION' FS/FS.pm | cut -d\' -f2` -TAG := "freeside_`echo ${VERSION} | perl -pe 's/\./_/g'`" +TAG := freeside_`grep '^$$VERSION' FS/FS.pm | cut -d\' -f2 | perl -pe 's/\./_/'` -DEBVERSION := `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1 +#DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1 TEXMFHOME := "\$$TEXMFHOME" +ver: + @echo "${VERSION}" + +tag: + @echo "${TAG}" + help: @echo "supported targets:" @echo " create-database create-config"