summaryrefslogtreecommitdiffstats
path: root/perl-install/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-07-16 14:03:47 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-07-16 14:03:47 +0000
commit9f8734e27c9a88137a2933970b7a5962e37789da (patch)
tree973e9a5518a38231812f2af8047ca93be420a083 /perl-install/Makefile
parente4fb0c6d7fbe0fc8f8659f0d39510aad4dc95999 (diff)
downloaddrakx-9f8734e27c9a88137a2933970b7a5962e37789da.tar
drakx-9f8734e27c9a88137a2933970b7a5962e37789da.tar.gz
drakx-9f8734e27c9a88137a2933970b7a5962e37789da.tar.bz2
drakx-9f8734e27c9a88137a2933970b7a5962e37789da.tar.xz
drakx-9f8734e27c9a88137a2933970b7a5962e37789da.zip
*** empty log message ***
Diffstat (limited to 'perl-install/Makefile')
-rw-r--r--perl-install/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/perl-install/Makefile b/perl-install/Makefile
index 220488b25..3773961d1 100644
--- a/perl-install/Makefile
+++ b/perl-install/Makefile
@@ -4,6 +4,7 @@ DEST = /tmp/t/Mandrake/instimage
DESTREP4PMS = $(DEST)/usr/bin/perl-install
PERL = perl
LOCALFILES = $(PERL) mouseconfig fr.map
+EXCLUDE = $(LOCALFILES) boot-hd.img
.PHONY: all tags install clean verify_c
@@ -14,11 +15,11 @@ tags:
clean:
test ! -e c/Makefile || $(MAKE) -C c clean
- rm -f c/c.xs
+ rm -f c/c.xs install1_hd
find . -name "*~" -o -name "TAGS" -o -name "*.old" | xargs rm -f
tar: clean
- cd .. ; tar cfy perl-install.tar.bz2 $(LOCALFILES:%=--exclude %) perl-install
+ cd .. ; tar cfy perl-install.tar.bz2 $(EXCLUDE:%=--exclude %) perl-install
tar-diskdrake: clean
cd .. ; rm -rf diskdrake ; cp -af perl-install diskdrake
@@ -112,13 +113,14 @@ as_root:
full_stage2:
rm -rf $(DEST)
- mkdir $(DEST)
+ mkdir -p $(DEST)
$(MAKE) get_needed_files
$(MAKE) stage2
stage2:
$(MAKE) install_pms
- cd $(DEST) ; tar cfz $(DEST).tgz [^M]* ; mv $(DEST).tgz /tmp/t.tgz
+ cd /tmp/t ; tar cfz /tmp/instimage-full.tgz Mandrake
+ cd /tmp/t ; tar cfz /tmp/instimage-light.tgz Mandrake/instimage/usr/[bl]*
@#rm -rf /mnt/initrd/*
@#cp -a $(DEST)/* /mnt/initrd