AUTOMAKE_OPTIONS = gnu
-SUBDIRS = src doc gui test
+SUBDIRS = src doc test systemd bash_completion.d
-EXTRA_DIST = COPYING.README README.android
+ACLOCAL_AMFLAGS = -I m4
+
+EXTRA_DIST = COPYING.README README.android SECURITY.md
+
+@CODE_COVERAGE_RULES@
+
+.PHONY: extra
+extra:
+ $(MAKE) -C $(srcdir)/src extra
+ $(MAKE) -C $(srcdir)/test extra
# If git describe works, force autoconf to run in order to make sure we have the
# current version number from git in the resulting configure script.
echo "Please edit the NEWS file now..."
/usr/bin/editor $(srcdir)/NEWS
$(MAKE) dist
+
+astyle:
+ astyle --options=.astylerc -nQ src/*.[ch] src/*/*.[ch]