Revert "Cache node IDs in a hash table for faster lookups."
[tinc] / Makefile.am
1 ## Process this file with automake to get Makefile.in
2
3 AUTOMAKE_OPTIONS = gnu
4
5 SUBDIRS =  src doc gui test systemd
6
7 ACLOCAL_AMFLAGS = -I m4
8
9 EXTRA_DIST = COPYING.README README.android
10
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.
13 configure-version:
14         -cd $(srcdir) && git describe && autoconf --force
15
16 # Triggering the README target means we are building a distribution (make dist).
17 README: configure-version
18
19 ChangeLog:
20         (cd $(srcdir) && git log) > ChangeLog
21
22 deb:
23         dpkg-buildpackage -rfakeroot
24
25 rpm: dist
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
29
30 release:
31         rm -f ChangeLog
32         $(MAKE) ChangeLog
33         echo "Please edit the NEWS file now..."
34         /usr/bin/editor $(srcdir)/NEWS
35         $(MAKE) dist