1 ## Process this file with automake to get Makefile.in
5 SUBDIRS = src doc test systemd bash_completion.d
7 ACLOCAL_AMFLAGS = -I m4
9 EXTRA_DIST = COPYING.README README.md README.android SECURITY.md
15 $(MAKE) -C $(srcdir)/src extra
16 $(MAKE) -C $(srcdir)/test extra
18 # If git describe works, force autoconf to run in order to make sure we have the
19 # current version number from git in the resulting configure script.
21 -cd $(srcdir) && git describe && autoconf --force
23 # Triggering the README target means we are building a distribution (make dist).
24 README: configure-version README.md
25 ln -sf README.md README
30 (cd $(srcdir) && git log) > ChangeLog
33 dpkg-buildpackage -rfakeroot
36 cp $(distdir).tar.gz /usr/src/redhat/SOURCES/
37 cp redhat/tinc.spec /usr/src/redhat/SOURCES/
38 cd /usr/src/redhat/SOURCES/ && rpm -bb tinc.spec
43 echo "Please edit the NEWS file now..."
44 /usr/bin/editor $(srcdir)/NEWS
48 astyle --options=.astylerc -nQ src/*.[ch] src/*/*.[ch]