From c54e3d981c90b3ecd85901db3d5d5235f6fa6da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Thu, 29 Jun 2017 12:23:03 +0200 Subject: [PATCH] Ask astyle(1) to indent macros too --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index befe906..01fcc90 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,4 +44,4 @@ svn-keywords-check: style: find ${libfreefare_subdirs} -name '*.[ch]' -exec perl -pi -e 's/[ \t]+$$//' {} \; - find ${libfreefare_subdirs} -name '*.[ch]' -exec astyle --style=linux --indent=force-tab-x --lineend=linux '{}' ';' + find ${libfreefare_subdirs} -name '*.[ch]' -print0 | xargs -0 astyle --style=linux --indent=force-tab-x --lineend=linux --indent-preproc-define --indent-preproc-block