summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-29 17:48:48 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-29 17:48:48 +0200
commit5526c432c74c4196de724d2da7a43b186eb249b0 (patch)
tree5921749e5fc93ea35d5ebcf39c6042701847d8f1 /Misc
parentb25ff2b27347d8559b96b4d82c7540a6c5023e5c (diff)
build: use VERSION_SHORT instead of VERSION_STRING
We have recently changed VERSION_STRING to append CONFIG_RC at the end of the string. Thus, for the build system, change it to VERSION_SHORT where needed, e.g. in release targets where the "+" appendix is not wished. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc12
1 files changed, 6 insertions, 6 deletions
diff --git a/Misc b/Misc
index 0180762..4acf920 100644
--- a/Misc
+++ b/Misc
@@ -12,14 +12,14 @@ tag:
$(GIT_TAG)
announcement:
- $(Q)echo -e "netsniff-ng $(VERSION_STRING) has been released to the public (http://netsniff-ng.org/).\n" > .MAIL_MSG
+ $(Q)echo -e "netsniff-ng $(VERSION_SHORT) has been released to the public (http://netsniff-ng.org/).\n" > .MAIL_MSG
$(Q)echo -e "It can be fetched via Git, through:\n" >> .MAIL_MSG
$(Q)echo -e " git clone git://github.com/borkmann/netsniff-ng.git" >> .MAIL_MSG
- $(Q)echo -e " git checkout $(VERSION_STRING)\n" >> .MAIL_MSG
+ $(Q)echo -e " git checkout $(VERSION_SHORT)\n" >> .MAIL_MSG
$(Q)echo -e "Or via HTTP, through:\n" >> .MAIL_MSG
- $(Q)echo -e " wget http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-$(VERSION_STRING).tar.gz\n" >> .MAIL_MSG
+ $(Q)echo -e " wget http://pub.netsniff-ng.org/netsniff-ng/netsniff-ng-$(VERSION_SHORT).tar.gz\n" >> .MAIL_MSG
$(Q)echo -e "The release be verified via Git, through (see README):\n" >> .MAIL_MSG
- $(Q)echo -e " git tag -v $(VERSION_STRING)\n" >> .MAIL_MSG
+ $(Q)echo -e " git tag -v $(VERSION_SHORT)\n" >> .MAIL_MSG
$(Q)echo -e "Major high-level changes since the last release are:\n" >> .MAIL_MSG
$(Q)echo -e " *** BLURB HERE ***\n" >> .MAIL_MSG
$(Q)echo -e "Contributors since last release:\n" >> .MAIL_MSG
@@ -27,8 +27,8 @@ announcement:
$(Q)echo -e "\nGit changelog since the last release:\n" >> .MAIL_MSG
$(GIT_LOG) >> .MAIL_MSG
-release: announcement tag tarball
- $(Q)echo "Released $(bold)$(VERSION_STRING)$(normal)"
+release: tag announcement tarball
+ $(Q)echo "Released $(bold)$(VERSION_SHORT)$(normal)"
FIND_SOURCE_FILES = ( git ls-files '*.[hcS]' 2>/dev/null || \
find . \( -name .git -type d -prune \) \