summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2011-10-14 23:14:53 +0000
committerTom Yu <tlyu@mit.edu>2011-10-14 23:14:53 +0000
commit6b76adec39e38c70a521cf9d9049e4fd856f5039 (patch)
tree6ce4d5e649dfba81aac676c95c6f64a022695f5b /src/Makefile.in
parent0f03edc5be1755241fa7ba0b17100664bb759385 (diff)
downloadkrb5-6b76adec39e38c70a521cf9d9049e4fd856f5039.tar.gz
krb5-6b76adec39e38c70a521cf9d9049e4fd856f5039.tar.xz
krb5-6b76adec39e38c70a521cf9d9049e4fd856f5039.zip
Exclude more stuff from make reindent
Apply exclusions to "make reindent" as well, to fully exclude some files from whitespace cleanups. Add fnmatch.c to exclusions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25345 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 625fb58d7b..36516aaad9 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -721,15 +721,21 @@ OTHEREXCLUDES = \
util/profile/prof_int.h \
util/profile/profile.hin \
util/profile/profile_tcl.c \
+ util/support/fnmatch.c \
util/verto \
util/k5ev
EXCLUDES = `for i in $(BSDFILES) $(OTHEREXCLUDES); do echo $$i; done | $(AWK) '{ print "-path", $$1, "-o" }'` -path /dev/null
+FIND_REINDENT = cd $(top_srcdir) && \
+ $(FIND) $(INDENTDIRS) \( $(EXCLUDES) \) -prune -o \
+ \( -name '*.[ch]' -o -name '*.hin' -o -name '*.[ch].in' \)
+
+show-reindentfiles::
+ ($(FIND_REINDENT) -print)
+
reindent::
- (cd $(top_srcdir) && \
- $(FIND) . \
- \( -name '*.[ch]' -o -name '*.hin' -o -name '*.[ch].in' \) \
+ ($(FIND_REINDENT) \
-print0 | $(XARGS) -0 $(EMACS) -q -batch \
-l util/krb5-c-style.el \
-l util/krb5-batch-reindent.el)
@@ -758,4 +764,3 @@ doxygen::
else \
echo "Doxygen is not installed or incorrect PATH"; \
fi
-