r16558: Add make rule to generate version.h. Metze, can you please review?
authorJames Peach <jpeach@samba.org>
Tue, 27 Jun 2006 06:24:43 +0000 (06:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:09:34 +0000 (14:09 -0500)
(This used to be commit 47b6a3d7f37faba7f8defbaf9a406f4bdf431615)

source4/main.mk

index 8e6c04da5fd17d16e5b0f48a1b0e48e1b5601765..8f42554a6bbd78deab47ea372ca8d8957d72c97e 100644 (file)
@@ -217,6 +217,9 @@ include/config.h:
        @echo "You need to rerun ./autogen.sh and ./configure"
        @/bin/false
 
+$(srcdir)/version.h:
+       @$(SHELL) script/mkversion.sh VERSION version.h $(srcdir)/
+
 clean_pch:
        @echo "Removing precompiled headers"
        @-rm -f include/includes.h.gch