aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 13:12:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-06-07 13:12:49 +0000
commit95907cecfe3955f4bcd98da2799960e2ec9a2d64 (patch)
tree80b326e455f068d22f6f12d2d8c4173940750e63 /Makefile
parent0a74190d1ee254f9d40cd875e65263305fd1c739 (diff)
downloadspec-helper-95907cecfe3955f4bcd98da2799960e2ec9a2d64.tar
spec-helper-95907cecfe3955f4bcd98da2799960e2ec9a2d64.tar.gz
spec-helper-95907cecfe3955f4bcd98da2799960e2ec9a2d64.tar.bz2
spec-helper-95907cecfe3955f4bcd98da2799960e2ec9a2d64.tar.xz
spec-helper-95907cecfe3955f4bcd98da2799960e2ec9a2d64.zip
Make the makefile svn-compliant
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 8 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index 90e5c2c..a13eab8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,14 @@
#---------------------------------------------------------------
-# Project : Mandrake Linux
+# Project : Mandriva Linux
# Module : spec-helper
# File : Makefile
-# Version : $Id$
-# Author : Frederic Lepied
-# Created On : Fri Feb 18 08:11:21 2000
+# Version : $Revision$
+# Author : $Author$
+# Created On : $Date$
#---------------------------------------------------------------
PACKAGE=spec-helper
VERSION:=$(shell rpm --qf %{VERSION} -q --specfile spec-helper.spec)
-RELEASE:=$(shell rpm --qf %{RELEASE} -q --specfile spec-helper.spec)
-TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
FILES=spec-helper clean_files clean_perl compress_files strip_files lib_symlinks gprintify.py fix-mo translate_menu.pl \
fixpamd gprintify remove_info_dir relink_symlinks
@@ -63,24 +61,10 @@ buildrpm:
# rules to build a distributable rpm
-rpm: changelog cvstag dist buildrpm
+rpm: changelog dist buildrpm
-dist: cleandist dir export tar
+dist: cleandist dir tar
-export:
- cvs export -d $(PACKAGE)-$(VERSION) -r $(TAG) $(PACKAGE)
-
-cvstag:
- cvs commit
- cvs tag $(CVSTAGOPT) $(TAG)
-
-changelog: ../common/username
- cvs2cl -U ../common/username -I ChangeLog
+changelog: ../common/username.xml
+ svn2cl --accum --strip-prefix=soft/rpm/spec-helper/trunk --authors ../common/username.xml
rm -f ChangeLog.bak
- cvs commit -m "Generated by cvs2cl the `date '+%d_%b'`" ChangeLog
-
-# Local variables:
-# mode: makefile
-# End:
-#
-# Makefile ends here