summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile29
1 files changed, 1 insertions, 28 deletions
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