From 633ef3de7885d5b5023730a3ba60c267b0e18b29 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Mar 2008 18:50:21 +0000 Subject: like for other mandriva tools, remove packaging rules since that's now managed in repsys (btw, SVNURL was broken when LANGUAGE!=C) --- Makefile | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a1da2953..bfc78cec 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,7 @@ RPM=$(HOME)/rpm NAME = drakwizard -VERSION := $(shell rpm --specfile $(NAME).spec -q | sed -n 's/^$(NAME)-\([^-]*\)-[^-]*$$/\1/p') -RELEASE := $(shell rpm --specfile $(NAME).spec -q | sed -n 's/^$(NAME)-[^-]*-\([^-]*\)$$/\1/p') -RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') +VERSION := 3.2 TAR = $(NAME)-$(VERSION).tar.bz2 -SVNURL = $(shell dirname $(shell svn info | sed -n 's/^URL: \(.*\)/\1/p')) # TODO: get WIZ_HOME take care of usr prefix WIZ_HOME=/usr/share/wizards/ @@ -83,30 +80,6 @@ changelog: svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog ; \ ) -svntag: - svn commit - svn cp -m "Create tag $(RELTAG)" $(SVNURL)/trunk $(SVNURL)/tags/$(RELTAG) - -localsrpm: dis ../$(TAR) $(RPM) - cp -f ../$(TAR) $(RPM)/SOURCES - cp -vf drakwizard.png $(RPM)/SOURCES - -rpm -bs $(NAME).spec - rm -f ../$(TAR) - -localrpm: localsrpm - -rpm -ba --clean $(NAME).spec - -rpm: changelog svntag dis ../$(TAR) $(RPM) - cp -f ../$(TAR) $(RPM)/SOURCES - -rpm -ba --clean $(NAME).spec - rm -f ../$(TAR) - -oldlocalrpm: dis - cp -f ../$(TAR) $(RPM)/SOURCES - cp -f $(NAME).spec $(RPM)/SPECS/ - -rpm -ba $(NAME).spec - rm -f ../$(TAR) - clean_test: rm -rf test -- cgit v1.2.1