diff options
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 13 |
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 - |