svn rev #25345: trunk/src/

tlyu@MIT.EDU tlyu at MIT.EDU
Fri Oct 14 19:14:53 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25345
Commit By: tlyu
Log Message:
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.


Changed Files:
U   trunk/src/Makefile.in
Modified: trunk/src/Makefile.in
===================================================================
--- trunk/src/Makefile.in	2011-10-14 18:19:36 UTC (rev 25344)
+++ trunk/src/Makefile.in	2011-10-14 23:14:53 UTC (rev 25345)
@@ -721,15 +721,21 @@
 	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 @@
 	else \
 		echo "Doxygen is not installed or incorrect PATH"; \
 	fi
-




More information about the cvs-krb5 mailing list