aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: b20562a5e6cfcd376e72df92079f4c8b9d6b8257 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# This Makefile.am is in the public domain
## Process this file with automake to produce Makefile.in

SUBDIRS = src doc po

EXTRA_DIST = config.rpath install-sh

ACLOCAL_AMFLAGS = -I m4

if HAVE_UNCRUSTIFY_BINARY
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
else
MCRUSTIFY = echo "crustify: skipped"
endif

pretty:
	$(MCRUSTIFY)