aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-05 13:57:59 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-05 13:57:59 +0000
commit93fb99f496033b8b9f5b1d2126d2398136f448d3 (patch)
tree78f5bdac5903887cd8f2751c04003e2cb489a02b
parent29ab976e4bb3cd403ecba37e31bcba5cf290266b (diff)
downloadrpmdrake-93fb99f496033b8b9f5b1d2126d2398136f448d3.tar
rpmdrake-93fb99f496033b8b9f5b1d2126d2398136f448d3.tar.gz
rpmdrake-93fb99f496033b8b9f5b1d2126d2398136f448d3.tar.bz2
rpmdrake-93fb99f496033b8b9f5b1d2126d2398136f448d3.tar.xz
rpmdrake-93fb99f496033b8b9f5b1d2126d2398136f448d3.zip
tar target builds in the parent dir, better
hack target doesn't remove use-strict et al
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 54eb59a1..87b78c63 100644
--- a/Makefile
+++ b/Makefile
@@ -44,11 +44,10 @@ clean:
done
tar:
- mkdir -p t/rpmdrake; \
- cd t/rpmdrake; \
- cp -a ../../* .; \
+ mkdir ../t; \
+ cd ../t; \
+ cp -a ../rpmdrake .; \
find -name "CVS" | xargs rm -rf; \
- cd ..; \
tar jcvf ../rpmdrake.tar.bz2 rpmdrake; \
cd ..; \
rm -rf t
@@ -60,4 +59,4 @@ 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}
+# perl -pi -e 's|use strict.*||;s|use vars.*||;s|use diagnostics.*||' /usr/lib/libDrakX/*.pm /usr/sbin/{rpmdrake,edit-urpm-sources.pl}