summaryrefslogtreecommitdiffstats
path: root/config.version.in
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2018-10-23 14:06:25 +0200
committerDavid Lamparter <equinox@diac24.net>2018-10-24 15:11:50 +0200
commit06871ed9fbc2276922cf5a22fe0079ef89eb66b9 (patch)
treeb6a436778d516841721ec676422a3263be37decf /config.version.in
parentMerge pull request #3225 from donaldsharp/revert_default_originate_changes (diff)
downloadfrr-06871ed9fbc2276922cf5a22fe0079ef89eb66b9.tar.xz
frr-06871ed9fbc2276922cf5a22fe0079ef89eb66b9.zip
build: carry --with-pkg-extra-version into tarballs
If we use "./configure --with-pkg-extra-version=... && make dist", we probably want the dist tarball to remember the extra version it was configured with. Use --without-pkg-extra-version to kill the tag. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'config.version.in')
-rw-r--r--config.version.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.version.in b/config.version.in
new file mode 100644
index 000000000..e2e739ca2
--- /dev/null
+++ b/config.version.in
@@ -0,0 +1,4 @@
+# this file is used to carry --with-pkg-extra-version into tarballs
+EXTRAVERSION="@EXTRAVERSION@"
+# for easy access by scripts before ./configure is run
+DIST_PACKAGE_VERSION="@PACKAGE_VERSION@"