From dc57bfc9ab69749453269c9bfce354a6c63a4648 Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 14 Oct 2019 14:06:58 +0000 Subject: fix the previous uncrustify commit. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f2b48b358..e8bd98da1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,7 +39,7 @@ doc_DATA = COPYING README ACLOCAL_AMFLAGS = -I m4 -if HAVE_UNCRUSTIFY +if HAVE_UNCRUSTIFY_BINARY pretty: - find $(top_srcdir) -type f ! -path '*/.*' ! -path '*/_*' -name '*.c' -name '*.h' -print0 | xargs -0 uncrustify -c $(top_srcdir) --replace --no-backup 2>&1 || true + find $(top_srcdir) -type f -name '*.c' -or -name '*.h' -print0 | xargs -0 uncrustify -c $(top_srcdir)/contrib/uncrustify.cfg --replace --no-backup 2>&1 || true endif -- cgit v1.2.3