Makefile.am: Write release number into distribution packages.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000 (10:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 6 Sep 2015 23:22:16 +0000 (00:22 +0100)
Makefile.am

index fe06772..0171170 100644 (file)
@@ -42,6 +42,10 @@ SUBDIRS                      += test
 ###--------------------------------------------------------------------------
 ### Distribution.
 
+## Release number.
+dist-hook:
+       echo $(VERSION) >$(distdir)/RELEASE
+
 ## Additional build tools.
 EXTRA_DIST             += config/auto-version