summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index bfea268f8..9de103f3b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -634,9 +634,7 @@ endif
# REVISION is the full revision given by git-version-gen, which can
# have non-alphanumeric symbols.
#
-# SHORT_VERSION (defined in configure.ac) contains only the number of
-# REVISION before the first '.', e.g. if REVISION is '3.real.434-5aafd'
-# then SHORT_VERSION is '3'.
+# Also see configure.ac for the related SHORT_VERSION macro.
MAJOR_VERSION =`echo $(VERSION) | sed 's/\([0-9]\+\)\.[0-9]\+.*/\1/'`
MINOR_VERSION =`echo $(VERSION) | sed 's/[0-9]\+\.\([0-9]\+\).*/\1/'`