Makefile: Add support for local Makefile additions
authorMichael Hanselmann <hansmi@google.com>
Thu, 17 Jun 2010 09:25:56 +0000 (11:25 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 17 Jun 2010 09:41:33 +0000 (11:41 +0200)
With the recent addition of a check for directories listed in Makefile
local custom directories are always reported as unlisted. This patch
adds support for a “Makefile.local” file, which can adjust settings in
Makefile. Example: “DIRCHECK_EXCLUDE += xyz .mydata doc/manhtml”.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>

.gitignore
Makefile.am

index 9bc7a3a..593b471 100644 (file)
@@ -12,6 +12,7 @@
 # /
 /Makefile
 /Makefile.in
+/Makefile.local
 /TAGS
 /aclocal.m4
 /autom4te.cache
index 6cf0e9e..b8ad0b2 100644 (file)
@@ -661,4 +661,6 @@ coverage: $(BUILT_SOURCES) $(python_tests)
 
 commit-check: distcheck lint apidoc
 
+-include ./Makefile.local
+
 # vim: set noet :