aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 16:25:10 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 16:25:10 +0000
commitf3e491267195c1650b41c127410c54e458c3872d (patch)
tree977f94f078931dd536d351213c9c02683486ddbc /Makefile
parentb2144e8b7e191c9002422b2e4042b52322f8216f (diff)
downloadrpmdrake-f3e491267195c1650b41c127410c54e458c3872d.tar
rpmdrake-f3e491267195c1650b41c127410c54e458c3872d.tar.gz
rpmdrake-f3e491267195c1650b41c127410c54e458c3872d.tar.bz2
rpmdrake-f3e491267195c1650b41c127410c54e458c3872d.tar.xz
rpmdrake-f3e491267195c1650b41c127410c54e458c3872d.zip
Cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 1 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index fc1cafd9..ec1e5bba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,3 @@
- #******************************************************************************
- #
- # Guillaume Cottenceau (gc@mandrakesoft.com)
- #
- # Copyright 2002 MandrakeSoft
- #
- # This software may be freely redistributed under the terms of the GNU
- # public license.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
- #*****************************************************************************
-
VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec)
NAME = rpmdrake
@@ -23,7 +8,7 @@ DATADIR = $(PREFIX)/share
BINDIR = $(PREFIX)/bin
SBINDIR = $(PREFIX)/sbin
RELATIVE_SBIN = ../sbin
-RPM=$(HOME)/rpm
+RPM=$(shell rpm --eval %_topdir)
all: dirs
@@ -72,24 +57,6 @@ tar:
cd ..; \
rm -rf t
-clust:
- scp ../rpmdrake-$(VERSION).tar.bz2 bi:rpm/SOURCES/rpmdrake-$(VERSION).tar.bz2
- rm -f scp ../rpmdrake-$(VERSION).tar.bz2
- scp rpmdrake.spec bi:rpm/SPECS
-
-SOFTHOME = /home/gc/cvs/soft
-GIHOME = /home/gc/cvs/gi
-
-hack:
- cp -f $(SOFTHOME)/rpmdrake/rpmdrake $(SOFTHOME)/rpmdrake/edit-urpm-sources.pl $(SOFTHOME)/rpmdrake/gurpmi.addmedia /usr/sbin
- ln -sf edit-urpm-sources.pl /usr/sbin/edit-urpm-media
- cp -f $(SOFTHOME)/rpmdrake/rpmdrake.pm $(shell rpm --eval %perl_vendorlib)
- cp -f $(GIHOME)/perl-install/ugtk2.pm /usr/lib/libDrakX
- perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||' /usr/lib/libDrakX/*.pm /usr/sbin/{rpmdrake,edit-urpm-sources.pl}
-
-
-
-
dis: clean
rm -rf $(NAME)-$(VERSION) ../$(NAME)-$(VERSION).tar*
mkdir -p $(NAME)-$(VERSION)