From 8c382c8273ed3e12f28b5dedf2381cb666ef7f25 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 6 Nov 2009 18:53:31 +0000 Subject: [PATCH] Move more reindent settings into variables git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23134 dc483132-0cff-0310-8789-dd5450dbe970 --- src/Makefile.in | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 3a5f267a6..67b6cd210 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -660,6 +660,14 @@ XARGS = xargs 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:: mark-cstyle-krb5 mark-cstyle-bsd 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) -- 2.26.2