aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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