summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-12-22 12:59:35 +0000
committerThierry Vignaud <tv@mandriva.org>2006-12-22 12:59:35 +0000
commit602a985819d1ea51a3e5480dfdfe9e871fc0dbc3 (patch)
tree00f502ad1009789e05d60d1ea8fe7783730b4a03 /Makefile
parentd581e5417ef9d99426b2e4b40efafb9625b93630 (diff)
downloadldetect-lst-602a985819d1ea51a3e5480dfdfe9e871fc0dbc3.tar
ldetect-lst-602a985819d1ea51a3e5480dfdfe9e871fc0dbc3.tar.gz
ldetect-lst-602a985819d1ea51a3e5480dfdfe9e871fc0dbc3.tar.bz2
ldetect-lst-602a985819d1ea51a3e5480dfdfe9e871fc0dbc3.tar.xz
ldetect-lst-602a985819d1ea51a3e5480dfdfe9e871fc0dbc3.zip
kill obsoleted rules now that packaging is splited out in repsys
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 1 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 6888b4c2..140a5b44 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,6 @@ include Makefile.config
PACKAGE = ldetect-lst
VERSION := $(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec | head -1)
RELEASE := $(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec | head -1)
-TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
SVN_URL := $(shell svn info | grep ^URL: | cut -f2 -d\ )
SVN_BASE := $(shell svn info | sed -n '/^URL: \(.*\/$(PACKAGE)\).*/s//\1/p')
@@ -30,13 +29,6 @@ install: build
# rules to build a test rpm
-localsrpm: check localdist
- rpm -ts $(PACKAGE)-$(VERSION).tar.bz2
-
-localrpm: localdist buildrpm
-
-localdist: cleandist dir localcopy tar
-
cleandist:
rm -rf $(PACKAGE)-$(VERSION) $(PACKAGE)-$(VERSION).tar.bz2
@@ -51,23 +43,10 @@ tar:
bzip2 -9vf $(PACKAGE)-$(VERSION).tar
rm -rf $(PACKAGE)-$(VERSION)
-buildrpm:
- rpm -ta $(PACKAGE)-$(VERSION).tar.bz2
# rules to build a distributable rpm
-srpm: check changelog svntag dist
- rpm -ts $(PACKAGE)-$(VERSION).tar.bz2
-
-rpm: srpm buildrpm
-
-dist: cleandist dir export tar
-
-export:
- echo svn co $(SVN_BASE)/tags/$(TAG) $(PACKAGE)-$(VERSION)
-
-svntag:
- echo svn cp -m "tagged as $(TAG)" $(SVNTAGOPT) $(SVN_URL) $(SVN_BASE)/tags/$(TAG)
+dist: cleandist dir localcopy tar
log: changelog