summaryrefslogtreecommitdiff
path: root/diff-version.mk
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2024-03-07 12:32:03 +0100
committerDag-Erling Smørgrav <des@FreeBSD.org>2024-03-07 12:32:03 +0100
commit9eb461aa4b61ab47855b2cee9e5b626a76888b5e (patch)
tree17240d083c051abd781ba10291171f50f411e52a /diff-version.mk
Vendor import of diff from OpenBSD's Game of Treesvendor/got/diff/2023-09-15vendor/got/diff
Repository: ssh://anonymous@got.gameoftrees.org/diff.git Commit hash: b5a9c15f4d68c06ec3bf839529b3ed2def0a6af6 Commit date: 2023-09-15
Diffstat (limited to 'diff-version.mk')
-rw-r--r--diff-version.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/diff-version.mk b/diff-version.mk
new file mode 100644
index 000000000000..1d14cd7ecfcc
--- /dev/null
+++ b/diff-version.mk
@@ -0,0 +1,8 @@
+DIFF_RELEASE=No
+DIFF_VERSION_NUMBER=0.1
+
+.if ${DIFF_RELEASE} == Yes
+DIFF_VERSION=${DIFF_VERSION_NUMBER}
+.else
+DIFF_VERSION=${DIFF_VERSION_NUMBER}-current
+.endif