1 ## Process this file with automake to get Makefile.in
5 SUBDIRS = src doc gui test systemd
7 ACLOCAL_AMFLAGS = -I m4
9 EXTRA_DIST = COPYING.README README.android
11 # If git describe works, force autoconf to run in order to make sure we have the
12 # current version number from git in the resulting configure script.
14 -cd $(srcdir) && git describe && autoconf --force
16 # Triggering the README target means we are building a distribution (make dist).
17 README: configure-version
20 (cd $(srcdir) && git log) > ChangeLog
23 dpkg-buildpackage -rfakeroot
26 cp $(distdir).tar.gz /usr/src/redhat/SOURCES/
27 cp redhat/tinc.spec /usr/src/redhat/SOURCES/
28 cd /usr/src/redhat/SOURCES/ && rpm -bb tinc.spec
33 echo "Please edit the NEWS file now..."
34 /usr/bin/editor $(srcdir)/NEWS