Makefile.am (451B)
1 # This Makefile.am is in the public domain 2 ## Process this file with automake to produce Makefile.in 3 4 SUBDIRS = src doc po 5 6 EXTRA_DIST = config.rpath install-sh 7 8 ACLOCAL_AMFLAGS = -I m4 9 10 if HAVE_UNCRUSTIFY_BINARY 11 MCRUSTIFY = find $(top_srcdir) -type f -name '*.c' -or -name '*.h' -print0 | xargs -0 uncrustify -c $(top_srcdir)/uncrustify.cfg -q --replace --no-backup 2>&1 || true 12 else 13 MCRUSTIFY = echo "crustify: skipped" 14 endif 15 16 pretty: 17 $(MCRUSTIFY)