2000-03-26 00:33:07 +00:00
|
|
|
## Process this file with automake to get Makefile.in
|
|
|
|
|
2000-04-26 23:56:22 +00:00
|
|
|
AUTOMAKE_OPTIONS = gnu
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2014-07-12 15:21:32 +00:00
|
|
|
SUBDIRS = src doc gui test
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2002-08-24 12:11:40 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2013-05-01 15:17:22 +00:00
|
|
|
EXTRA_DIST = COPYING.README README.android
|
2000-03-26 00:33:07 +00:00
|
|
|
|
2014-06-29 17:26:55 +00:00
|
|
|
# If git describe works, force autoconf to run in order to make sure we have the
|
|
|
|
# current version number from git in the resulting configure script.
|
|
|
|
configure-version:
|
2014-07-12 15:01:41 +00:00
|
|
|
-cd $(srcdir) && git describe && autoconf --force
|
2014-06-29 17:26:55 +00:00
|
|
|
|
|
|
|
# Triggering the README target means we are building a distribution (make dist).
|
|
|
|
README: configure-version
|
|
|
|
|
2000-04-18 20:26:49 +00:00
|
|
|
ChangeLog:
|
2014-07-12 15:01:41 +00:00
|
|
|
(cd $(srcdir) && git log) > ChangeLog
|
2000-04-29 20:38:23 +00:00
|
|
|
|
|
|
|
deb:
|
|
|
|
dpkg-buildpackage -rfakeroot
|
2000-08-21 20:35:47 +00:00
|
|
|
|
|
|
|
rpm: dist
|
|
|
|
cp $(distdir).tar.gz /usr/src/redhat/SOURCES/
|
|
|
|
cp redhat/tinc.spec /usr/src/redhat/SOURCES/
|
2001-06-29 15:33:18 +00:00
|
|
|
cd /usr/src/redhat/SOURCES/ && rpm -bb tinc.spec
|
2001-05-26 09:34:11 +00:00
|
|
|
|
|
|
|
release:
|
|
|
|
rm -f ChangeLog
|
|
|
|
$(MAKE) ChangeLog
|
|
|
|
echo "Please edit the NEWS file now..."
|
2014-07-12 15:01:41 +00:00
|
|
|
/usr/bin/editor $(srcdir)/NEWS
|
2001-05-26 09:34:11 +00:00
|
|
|
$(MAKE) dist
|