chiark / gitweb /
Makefile: Do the release hook thing.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 7 Jan 2012 02:13:24 +0000 (02:13 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 13 Feb 2012 00:25:28 +0000 (00:25 +0000)
Makefile.am

index 9e67f9f..66745ed 100644 (file)
@@ -152,4 +152,12 @@ userv/distorted-keys: userv/distorted-keys.in Makefile
 dist_profile_DATA      += profile.d/00base
 dist_profile_DATA      += profile.d/02infra
 
+###--------------------------------------------------------------------------
+### Release setup.
+
+dist-hook::
+       echo $(VERSION) >$(distdir)/RELEASE
+
+EXTRA_DIST             += config/auto-version
+
 ###----- That's all, folks --------------------------------------------------