aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2004-02-27 16:59:41 +0000
committerFrederic Lepied <flepied@mandriva.com>2004-02-27 16:59:41 +0000
commit55d98e7f895f31f1bed4eb2034126e766ff54069 (patch)
treec167d4ee87c09ba7814e6879bd8ebaa29018694b /Makefile
parenteb0e92f8dd6195914d14902530a9b6d7edaa5a9f (diff)
downloadcommon-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar
common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar.gz
common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar.bz2
common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar.xz
common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.zip
use rpm -ta to build an rpm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ebb9faa..fe4ad3a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,6 @@ PACKAGE = mandrake_desk
NAME = mandrake_desk
VERSION:=$(shell grep 'Version:' $(PACKAGE).spec| cut -f 2)
RELEASE:=$(shell grep 'Release:' $(PACKAGE).spec| cut -f 2)
-RPM=$(HOME)/rpm
TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
mandir=/usr/share/man
@@ -17,8 +16,6 @@ dis: clean
tar jcf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
rm -rf $(NAME)-$(VERSION)
-rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
- cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES
- cp -f $(NAME).spec $(RPM)/SPECS/
- rpm -ba --clean --rmsource $(NAME).spec
+rpm: dis
+ rpm -ta --clean --rmsource ../$(NAME)-$(VERSION).tar.bz2
rm -f ../$(NAME)-$(VERSION).tar.bz2