X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=Makefile.am;h=0667a877e07094e617eb2c7d73147e980368a2bf;hp=0ea29c83b541878dcee692f6e63637887e080016;hb=1f00810da336f3b7132df17b7fe4625748ff4b63;hpb=1243156a5e03a666b36bc4400f1402243a85c9a7 diff --git a/Makefile.am b/Makefile.am index 0ea29c83..0667a877 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,30 @@ ## Process this file with automake to get Makefile.in -AUTOMAKE_OPTIONS = gnits +AUTOMAKE_OPTIONS = gnu -SUBDIRS = m4 lib cipher src doc +SUBDIRS = m4 lib src doc po -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = TODO +EXTRA_DIST = config.rpath mkinstalldirs system.h COPYING.README depcomp +ChangeLog: + svn log > ChangeLog + +svn-clean: maintainer-clean + svn status --no-ignore | sed -n 's/^[?I] \+//p' | tr '\012' '\0' | xargs -r0 rm -rf + +deb: + dpkg-buildpackage -rfakeroot + +rpm: dist + cp $(distdir).tar.gz /usr/src/redhat/SOURCES/ + cp redhat/tinc.spec /usr/src/redhat/SOURCES/ + cd /usr/src/redhat/SOURCES/ && rpm -bb tinc.spec + +release: + rm -f ChangeLog + $(MAKE) ChangeLog + echo "Please edit the NEWS file now..." + /usr/bin/editor NEWS + $(MAKE) dist