From: Bruce Momjian Date: Fri, 26 Aug 2011 14:08:39 +0000 (-0400) Subject: In pgrminclude, add code to skip includes with a marker comment. X-Git-Tag: REL9_2_BETA1~1223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f9afc351b81a46ce9dc0f48c8a4c0af3de924e9;p=postgresql In pgrminclude, add code to skip includes with a marker comment. --- diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude index afbbd7f4cc..ba13c4a7a7 100755 --- a/src/tools/pginclude/pgrminclude +++ b/src/tools/pginclude/pgrminclude @@ -22,6 +22,7 @@ do # loop through all includes cat "$FILE" | grep "^#include" | + grep -v '/\* *pgrminclude *ignore *\*/' | sed 's/^#include[ ]*[<"]\([^>"]*\).*$/\1/g' | while read INCLUDE do