New make target: `make release'
authorIvo Timmermans <ivo@lychnis.net>
Sat, 26 May 2001 09:34:11 +0000 (09:34 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Sat, 26 May 2001 09:34:11 +0000 (09:34 +0000)
Makefile.am

index bda83a2..bc25c2c 100644 (file)
@@ -14,7 +14,6 @@ CVS_CREATED = configure aclocal.m4 config.h.in config.guess \
  po/tinc.pot src/.libs intl
 
 ChangeLog:
-       rm -f ChangeLog
        cvs2cl -U cvsusers --fsf
 
 cvs-clean: maintainer-clean
@@ -30,3 +29,10 @@ rpm: dist
        cp redhat/tinc.spec /usr/src/redhat/SOURCES/
        cd /usr/src/redhat/SOURCES/
        rpm -bi tinc.spec
+
+release:
+       rm -f ChangeLog
+       $(MAKE) ChangeLog
+       echo "Please edit the NEWS file now..."
+       /usr/bin/editor NEWS
+       $(MAKE) dist