tinc/Makefile.am

46 lines
1.3 KiB
Makefile
Raw Normal View History

2000-03-26 00:33:07 +00:00
## Process this file with automake to get Makefile.in
AUTOMAKE_OPTIONS = gnu
2000-03-26 00:33:07 +00:00
SUBDIRS = src doc gui test systemd
2000-03-26 00:33:07 +00:00
2015-06-26 15:17:39 +00:00
ACLOCAL_AMFLAGS = -I m4
2000-03-26 00:33:07 +00:00
EXTRA_DIST = COPYING.README README.android
2000-03-26 00:33:07 +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:
-cd $(srcdir) && git describe && autoconf --force
# Triggering the README target means we are building a distribution (make dist).
README: configure-version
ChangeLog:
(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..."
/usr/bin/editor $(srcdir)/NEWS
2001-05-26 09:34:11 +00:00
$(MAKE) dist
2015-06-26 15:17:39 +00:00
$(srcdir)/package.m4: $(top_srcdir)/configure.ac
{ \
echo '# Signature of the current package.'; \
echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
} >$(srcdir)/package.m4