svn rev #23134: trunk/src/

tlyu@MIT.EDU tlyu at MIT.EDU
Fri Nov 6 13:53:31 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23134
Commit By: tlyu
Log Message:
Move more reindent settings into variables.


Changed Files:
U   trunk/src/Makefile.in
Modified: trunk/src/Makefile.in
===================================================================
--- trunk/src/Makefile.in	2009-11-05 04:39:54 UTC (rev 23133)
+++ trunk/src/Makefile.in	2009-11-06 18:53:31 UTC (rev 23134)
@@ -660,6 +660,14 @@
 EMACS = emacs
 PYTHON = python
 
+INDENTDIRS = \
+	clients \
+	kadmin \
+	kdc \
+	lib/kadm5 \
+	lib/kdb \
+	lib/krb5
+
 BSDFILES = \
 	kadmin/cli/strftime.c \
 	kadmin/server/ipropd_svc.c \
@@ -696,18 +704,11 @@
 
 mark-cstyle-krb5::
 	(cd $(SRCTOP) && \
-	$(FIND) \
-	clients \
-	lib/kadm5 \
-	lib/kdb \
-	lib/krb5 \
-	kadmin \
-	kdc \
-	\( $(EXCLUDES) \) -prune -o \
+	$(FIND) $(INDENTDIRS) \( $(EXCLUDES) \) -prune -o \
 	-name '*.[ch]' \
 	-print0 | $(XARGS) -0 $(PYTHON) util/krb5-mark-cstyle.py \
 	--cstyle=krb5)
 
 mark-cstyle-bsd::
-	(cd $(SRCTOP) && \
-	$(PYTHON) util/krb5-mark-cstyle.py --cstyle=bsd $(BSDFILES))
+	(cd $(SRCTOP) && $(FIND) $(BSDFILES) -print0 | $(XARGS) -0 \
+	$(PYTHON) util/krb5-mark-cstyle.py --cstyle=bsd)




More information about the cvs-krb5 mailing list