From: Loup Vaillant Date: Wed, 27 Jun 2018 08:51:14 +0000 (+0200) Subject: Added VERSION file X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=f1e071d4d65a3ac6b9365601ed487fcf32381a4c;p=Monocypher.git Added VERSION file --- 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