aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-02 13:34:43 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-02 13:34:43 +0000
commit5b5584c544ef5e840c3b908c6c16839903cd10f0 (patch)
tree07fa866443bc8d91cd95ef1fc6772d30b55c9c4d
parent2b3847be2f95af0a5dfb0874e362e3274e02736c (diff)
downloadrpmdrake-5b5584c544ef5e840c3b908c6c16839903cd10f0.tar
rpmdrake-5b5584c544ef5e840c3b908c6c16839903cd10f0.tar.gz
rpmdrake-5b5584c544ef5e840c3b908c6c16839903cd10f0.tar.bz2
rpmdrake-5b5584c544ef5e840c3b908c6c16839903cd10f0.tar.xz
rpmdrake-5b5584c544ef5e840c3b908c6c16839903cd10f0.zip
add a "hack" target to copy necessary files at the correct location of
the system to test easily small modifications
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d72a3b73..54eb59a1 100644
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,7 @@ install: $(ALL)
done
install -d $(BINDIR)
install rpmdrake edit-urpm-sources.pl $(BINDIR)
- perl -pi -e 's|use strict.*||' $(BINDIR)/*
- perl -pi -e 's|use vars.*||' $(BINDIR)/*
- perl -pi -e 's|use diagnostics.*||' $(BINDIR)/*
+ perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||' $(BINDIR)/*
ln -s rpmdrake $(BINDIR)/rpmdrake-remove
ln -s rpmdrake $(BINDIR)/MandrakeUpdate
install -d $(DATADIR)/rpmdrake/icons
@@ -54,3 +52,12 @@ tar:
tar jcvf ../rpmdrake.tar.bz2 rpmdrake; \
cd ..; \
rm -rf t
+
+SOFTHOME = /home/gc/cvs/soft
+GIHOME = /home/gc/cvs/gi
+
+hack:
+ cp -f $(SOFTHOME)/rpmdrake/rpmdrake $(SOFTHOME)/rpmdrake/edit-urpm-sources.pl /usr/sbin
+ cp -f $(SOFTHOME)/rpmdrake/rpmdrake.pm $(shell rpm --eval %perl_vendorlib)
+ cp -f $(GIHOME)/perl-install/my_gtk.pm $(GIHOME)/perl-install/ugtk.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}