diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-11-12 01:24:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-11-12 01:24:39 +0000 |
commit | 7d8f11b58764859230367055deda3489fc09412f (patch) | |
tree | 6961a38d59d54670c8e1d942dbef44449c18a9c1 /Makefile | |
parent | 855cc85f5558115010b9629246b014b83fcfe2c3 (diff) | |
download | drakx-backup-do-not-use-7d8f11b58764859230367055deda3489fc09412f.tar drakx-backup-do-not-use-7d8f11b58764859230367055deda3489fc09412f.tar.gz drakx-backup-do-not-use-7d8f11b58764859230367055deda3489fc09412f.tar.bz2 drakx-backup-do-not-use-7d8f11b58764859230367055deda3489fc09412f.tar.xz drakx-backup-do-not-use-7d8f11b58764859230367055deda3489fc09412f.zip |
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,13 +1,15 @@ BOOT_IMG = gi_hd.img gi_cdrom.img gi_network.img gi_network_ks.img gi_pcmcia.img gi_pcmcia_ks.img BINS = install/install install/local-install install/installinit/init DIRS = install install/installinit mouseconfig perl-install ddcprobe lnx4win +ROOTDEST = /export .PHONY: dirs $(FLOPPY_IMG) install: build - mkdir -p /export/images 2>/dev/null ||: - cp -f $(BOOT_IMG) /export/images + for i in images misc Mandrake Mandrake/base; do install -d $(ROOTDEST)/$$i ; done + cp -f $(BOOT_IMG) $(ROOTDEST)/images + install make_mdkinst_stage2 $(ROOTDEST)/misc make -C perl-install full_stage2 build: dirs $(BOOT_IMG) @@ -38,12 +40,12 @@ clean: upload: tar install touch /tmp/mdkinst_done rm ~/gi/*_ks.img - cd /export/Mandrake ; tar cfz mdkinst.tgz mdkinst + cd $(ROOTDEST)/Mandrake ; tar cfz mdkinst.tgz mdkinst # lftp -c "open -u devel mandrakesoft.com; cd ~/cooker/cooker/images ; mput ~/gi/gi_*.img ;" - lftp -c "open -u devel mandrakesoft.com; cd ~/tmp ; put /export/Mandrake/mdkinst.tgz ; put /tmp/mdkinst_done ; cd ~/cooker/cooker/Mandrake/base ; put /export/Mandrake/base/mdkinst_stage2.gz ; put ~/gi/perl-install/compss ; put ~/gi/perl-install/compssList ; put ~/gi/perl-install/compssUsers " + lftp -c "open -u devel mandrakesoft.com; cd ~/tmp ; put $(ROOTDEST)/Mandrake/mdkinst.tgz ; put /tmp/mdkinst_done ; cd ~/cooker/cooker/Mandrake/base ; put $(ROOTDEST)/Mandrake/base/mdkinst_stage2.gz ; put ~/gi/perl-install/compss ; put ~/gi/perl-install/compssList ; put ~/gi/perl-install/compssUsers ; cd ~/cooker/cooker/misc ; put ~/gi/make_mdkinst_stage2 " # lftp -c "open -u devel mandrakesoft.com; cd ~/cooker/contrib/others/src ; put ~/gi.tar.bz2" - rm -f /export/Mandrake/mdkinst.tgz + rm -f $(ROOTDEST)/Mandrake/mdkinst.tgz rm -f /tmp/mdkinst_done # mkisofs -R -b images/gi_cdrom.img -c images/.catalog /tmp/r /mnt/disk/ | cdrecord -v -eject speed=6 dev=1,0 - |