aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>2000-07-20 19:07:52 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>2000-07-20 19:07:52 +0000
commit38158f9af06104ce1da5f6d5e362c28b28834f2a (patch)
treec3d4e1b840dc2f67f054be76b296569292453efa /Makefile
parent495cadc6ef6c09b355b4da7f6f1354e89f643133 (diff)
downloadspec-helper-38158f9af06104ce1da5f6d5e362c28b28834f2a.tar
spec-helper-38158f9af06104ce1da5f6d5e362c28b28834f2a.tar.gz
spec-helper-38158f9af06104ce1da5f6d5e362c28b28834f2a.tar.bz2
spec-helper-38158f9af06104ce1da5f6d5e362c28b28834f2a.tar.xz
spec-helper-38158f9af06104ce1da5f6d5e362c28b28834f2a.zip
Add the changelog target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c5f2046..0472e56 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,13 @@ dis:
bzip2 -9vf ../$(NAME)-$(VERSION).tar
rm -rf $(NAME)-$(VERSION)
+changelog:
+ rcs2log | sed "s|@.*mandrakesoft\.com|@mandrakesoft.com|" | sed "s|@@|@|" | \
+ sed "s|/home/cvs/cooker/soft/$(NAME)/||g" > changenew
+ mv ChangeLog ChangeLog.old
+ cat changenew ChangeLog.old > ChangeLog
+ rm -f changenew
+
rpm: ../$(NAME)-$(VERSION).tar.bz2
test -d $(RPM)/SOURCES && test -d $(RPM)/
cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES