summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-02 17:24:11 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-02 17:24:11 -0700
commit77a69265cf7d270227ee24ddfa88c0df2a505112 (patch)
treeb7314e9f5839ea14c8a80456b835ac104c1c4c09
parent9811a6d46486dad24cd97accc09447d00cf0e25a (diff)
keep version in FS.pm instead of Makefile
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b1be09d..2ddf7b6 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"