Makefile.am: Write release number into distribution packages.
[sod] / 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