X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile.am;h=93bc963224fc5a73a60df159c2d42d7874e6dfa2;hb=f13d66f20a227a87075f6456f41b83ce269b67f4;hp=e40199308f239961359e0876ca1634b45065156d;hpb=08aabbf9317806bc50a9a6693ca866c8936ce26b;p=meshlink diff --git a/Makefile.am b/Makefile.am index e4019930..93bc9632 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,26 +2,22 @@ AUTOMAKE_OPTIONS = gnu -SUBDIRS = m4 lib src doc po +if CATTA +MAYBE_CATTA = catta +endif + +SUBDIRS = $(MAYBE_CATTA) src doc test examples + +DIST_SUBDIRS = $(SUBDIRS) ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = config.rpath mkinstalldirs have.h system.h COPYING.README depcomp +EXTRA_DIST = \ + COPYING.README \ + README.android ChangeLog: git log > ChangeLog -deb: - dpkg-buildpackage -rfakeroot - -rpm: dist - cp $(distdir).tar.gz /usr/src/redhat/SOURCES/ - cp redhat/tinc.spec /usr/src/redhat/SOURCES/ - cd /usr/src/redhat/SOURCES/ && rpm -bb tinc.spec - -release: - rm -f ChangeLog - $(MAKE) ChangeLog - echo "Please edit the NEWS file now..." - /usr/bin/editor NEWS - $(MAKE) dist +astyle: + astyle --options=.astylerc -nQ src/*.[ch] src/ed25519/e*.[ch] examples/*.[ch] examples/*.cc test/*.[ch]