chiark / gitweb /
Makefile.am: Write release number into distribution packages.
[sod] / Makefile.am
index 55757e0a5791e6d45b113bb878b9f80d6b2f07fc..0171170f36b9291acc183722b3fc80dd0df1248a 100644 (file)
@@ -36,4 +36,17 @@ SUBDIRS                      += src
 ## The runtime support library.
 SUBDIRS                        += lib
 
+## The tests and examples.
+SUBDIRS                        += test
+
+###--------------------------------------------------------------------------
+### Distribution.
+
+## Release number.
+dist-hook:
+       echo $(VERSION) >$(distdir)/RELEASE
+
+## Additional build tools.
+EXTRA_DIST             += config/auto-version
+
 ###----- That's all, folks --------------------------------------------------