From 1da058e4cff56f590b2ccb5a0b0dbee42c7e99d5 Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Fri, 5 Nov 2010 14:33:15 +0000 Subject: Fri Nov 5 14:23:26 UTC 2010 Steve Huston --- ChangeLog | 11 +++++++++++ include/makeinclude/rules.local.GNU | 7 +++++++ 2 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index b97f81ef8f4..2c6317ac147 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Fri Nov 5 14:23:26 UTC 2010 Steve Huston + + * include/makeinclude/rules.local.GNU: Added a hook for users to + include site-private rules in a build. If the user places a + "rules.private.GNU" in any build directory it will get included + from rules.local.GNU. The "private_rules_file" make variable + can be set to override the name and/or location of the file. + If no such rules file exists, its absence is silently ignored. + This facility can be used, for example, to integrate a specialized + code checker into the build process. + Thu Nov 4 15:17:51 UTC 2010 Steve Huston * ace/INET_Addr.cpp (set): For platforms that have the GNU-extended diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU index 268961c3f66..2e947e9a7c4 100644 --- a/include/makeinclude/rules.local.GNU +++ b/include/makeinclude/rules.local.GNU @@ -542,3 +542,10 @@ svnignore.local: svn propset svn:ignore -F SvNiGnOrE .; \ rm SvNiGnOrE; \ fi + +#---------------------------------------------------------------------------- +# Optional private, site-specific rules +#---------------------------------------------------------------------------- + +private_rules_file ?= rules.private.GNU +-include $(private_rules_file) -- cgit v1.2.1