summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-09 10:57:09 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-09 11:00:08 +0200
commit65c34d8fec7707e93cecd0378d06fa9b184565e8 (patch)
tree85c334d695ac352d0ec1297be27dd67bd445f816 /Makefile
parent26e0298eb2fc7f946a36d682de0f74aac2cafe83 (diff)
configure: let configure script generate config.h file
While we're at it, also let configure script generate the config.h file. The generation of it is currently quite static, but that could change in future. While at it, we also generate a GITVERSION define, that we will use for ``--version'' output of the individual tools for being able to provide better support since we can see what concrete commit people are using when building from Git repo. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1a75a9..cb18177 100644
--- a/Makefile
+++ b/Makefile
@@ -214,6 +214,7 @@ toolkit: $(TOOLS)
clean: $(foreach tool,$(TOOLS),$(tool)_clean)
distclean: clean
$(Q)$(call RM,Config)
+ $(Q)$(call RM,config.h)
mrproper: distclean
$(Q)$(GIT_REM)