diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 29 |
1 files changed, 1 insertions, 28 deletions
@@ -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 |