summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2018-04-23 06:06:33 -0400
committerG. Branden Robinson <g.branden.robinson@gmail.com>2018-04-23 06:06:33 -0400
commit3aae1e8939df0e86b3a46318cceb72e0eb774dc8 (patch)
tree3a9a5f30a4071859a6ee71c0c62a233f26177dd4 /Makefile.am
parentfc7903ad23654589472b890b3bf23fef6a377591 (diff)
downloadgroff-git-3aae1e8939df0e86b3a46318cceb72e0eb774dc8.tar.gz
Makefile.am: Correct a comment.
Sync comment documenting SHORT_VERSION with reality; evidently at one point this was called SHORT_REVISION and did not survive contact with the enemy. Also indicate where it's defined, since it's a groff thing and not a feature of gnulib's git-version-gen. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 6a05cca88..bfea268f8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -634,9 +634,9 @@ endif
# REVISION is the full revision given by git-version-gen, which can
# have non-alphanumeric symbols.
#
-# SHORT_REVISION contains only the number of REVISION before the first
-# '.', e.g. if REVISION is '3.real.434-5aafd' then SHORT_REVISION is
-# '3'.
+# 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'.
MAJOR_VERSION =`echo $(VERSION) | sed 's/\([0-9]\+\)\.[0-9]\+.*/\1/'`
MINOR_VERSION =`echo $(VERSION) | sed 's/[0-9]\+\.\([0-9]\+\).*/\1/'`