summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-06-27 06:24:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:34 -0500
commit748decf65bec11263be1900965b78e7a1731b6e6 (patch)
tree164817f1eabcc685c6d3e12f6582ca9e17be00ed
parent0168e973d8bb70214399474f1a7c121dab803200 (diff)
downloadsamba-748decf65bec11263be1900965b78e7a1731b6e6.tar.gz
samba-748decf65bec11263be1900965b78e7a1731b6e6.tar.bz2
samba-748decf65bec11263be1900965b78e7a1731b6e6.zip
r16558: Add make rule to generate version.h. Metze, can you please review?
(This used to be commit 47b6a3d7f37faba7f8defbaf9a406f4bdf431615)
-rw-r--r--source4/main.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 8e6c04da5f..8f42554a6b 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -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