From f1e071d4d65a3ac6b9365601ed487fcf32381a4c Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Wed, 27 Jun 2018 10:51:14 +0200 Subject: [PATCH] Added VERSION file --- VERSION.md | 1 + makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 VERSION.md diff --git a/VERSION.md b/VERSION.md new file mode 100644 index 0000000..2165f8f --- /dev/null +++ b/VERSION.md @@ -0,0 +1 @@ +2.0.4 diff --git a/makefile b/makefile index 8f33f12..508a392 100644 --- a/makefile +++ b/makefile @@ -6,7 +6,7 @@ PKGCONFIG=$(DESTDIR)/$(PREFIX)/lib/pkgconfig MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3 # override with x.y.z when making a proper tarball -TARBALL_VERSION=master +TARBALL_VERSION=$$(cat VERSION.md) # avoids changing the current directory while we archive it TARBALL_DIR=.. @@ -30,7 +30,7 @@ install: library src/monocypher.h install-doc @echo 'includedir=$${prefix}/include' >> $(PKGCONFIG)/monocypher.pc @echo '' >> $(PKGCONFIG)/monocypher.pc @echo 'Name: monocypher' >> $(PKGCONFIG)/monocypher.pc - @echo 'Version: 1.1.0' >> $(PKGCONFIG)/monocypher.pc + @echo 'Version:' $$(cat VERSION.md) >> $(PKGCONFIG)/monocypher.pc @echo 'Description: Easy to use, easy to deploy crypto library' \ >> $(PKGCONFIG)/monocypher.pc @echo '' >> $(PKGCONFIG)/monocypher.pc -- 2.47.3