X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=44a5c8180f3aec9b0a2c6020420d591dfa706f4c;hb=9ece2f9ded8c65c7f20826f2ec9ae1f0527bdd7c;hp=f7de2b765361c451624fc137f3f3442ce6965f8a;hpb=1797680356b8a9256fd233a126f0b4cae9d52b17;p=meshlink diff --git a/Makefile.am b/Makefile.am index f7de2b76..44a5c818 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,14 +2,28 @@ AUTOMAKE_OPTIONS = gnu -SUBDIRS = catta src doc test examples +if CATTA +MAYBE_CATTA = catta +endif + +SUBDIRS = $(MAYBE_CATTA) src doc test examples + +DIST_SUBDIRS = $(SUBDIRS) ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = README.android +EXTRA_DIST = \ + COPYING.README \ + README.android ChangeLog: git log > ChangeLog astyle: - astyle --options=.astylerc -nQ src/*.[ch] src/ed25519/e*.[ch] examples/*.[ch] examples/*.cc test/*.[ch] + @astyle --version | grep -q "Version 3" || (echo 'ERROR: astyle version 3 required!' 1>&2 && exit 1) + astyle --options=.astylerc -nQ \ + src/*.[ch] \ + src/ed25519/e*.[ch] \ + examples/*.[ch] \ + examples/*.cc \ + `find test -name '*.[ch]'`