Commit 987214b4 authored by Bruce Momjian's avatar Bruce Momjian

do include files first

parent 48423d94
: :
# remove extra #include's # remove extra #include's
pgdefine || (echo "pgdefine must be in your PATH" 1>&2; exit 1)
# src/tools/pginclude/pgrminclude # src/tools/pginclude/pgrminclude
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15 trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
find . \( -name CVS -a -prune \) -o -type f -name '*.[ch]' -print | # do include files first
(find . \( -name .git -a -prune \) -o -type f -name '*.h' -print;
find . \( -name .git -a -prune \) -o -type f -name '*.c' -print ) |
grep -v '\./postgres.h' | grep -v '\./postgres.h' |
grep -v '\./postgres_fe.h' | grep -v '\./postgres_fe.h' |
grep -v '\./pg_config.h' | grep -v '\./pg_config.h' |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment