X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=1dc085c0c0d1fc672f8f3315641baa2813a89508;hb=db4f350d28639317243a131a008b04a86b2792cd;hp=f7de2b765361c451624fc137f3f3442ce6965f8a;hpb=1797680356b8a9256fd233a126f0b4cae9d52b17;p=meshlink diff --git a/Makefile.am b/Makefile.am index f7de2b76..1dc085c0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,14 +2,29 @@ AUTOMAKE_OPTIONS = gnu -SUBDIRS = catta src doc test examples +SUBDIRS = src test examples + +DIST_SUBDIRS = $(SUBDIRS) ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = README.android +EXTRA_DIST = \ + COPYING.README \ + README.android \ + $(DX_CONFIG) + +@DX_RULES@ + +MOSTLYCLEANFILES = $(DX_CLEANFILES) 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]'`