diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-11-17 00:19:03 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-11-17 00:19:03 +0000 |
commit | f394847282749e92c7094a82274ea4770997ce46 (patch) | |
tree | b3d4e1e923b43b0d867775a85b00f9a8e4ed27df /Makefile.am | |
parent | 25d8bef3fec7552670444b030789e8b251ff4cf1 (diff) |
Add an SVN_REVISION variable to config.nmake. This can be used to
retrieve our SVN revision in releases.
Use make-version.pl to set all version information. Be more explicit
about the tasks it performs:
- Fetching the SVN revision which corresponds to our code. The
revision can be fetched via "svn info", "git svn info", SubWCRev",
config.nmake, or by prodding .svn.
- Setting the version numbers (the "major.minor.micro" triplet).
- Setting the release information (revision/build number, local build
identifier)
Remove the "is_release" configuration option and dist-hook target.
When run with a "--set-*" option or no options make sure we leave a
valid svnversion.h behind.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39891 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am index 33892f658c..29eb97f877 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1028,15 +1028,3 @@ checkapi: checkapi_local cd ../dissectors && $(MAKE) checkapi cd ../../plugins && $(MAKE) checkapi cd ../wsutil && $(MAKE) checkapi - -# When we build a release tarball, tell make-version that it is such. This -# prevents make-version from looking for SVN details in the source tarball, -# failing, and then labelling the build as from "SVN version unknown." -dist-hook: - if test -f $(top_srcdir)/version.conf -a ! -f $(top_distdir)/version.conf ; then \ - cp $(top_srcdir)/version.conf $(top_distdir); \ - if grep "^is_release: *1" $(top_distdir)/version.conf ; then :; \ - else \ - echo "is_release: 1" >> $(top_distdir)/version.conf; \ - fi ; \ - fi |