summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-01-05 20:55:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-01-05 20:55:20 +0000
commitfd6b89e3d9cb165829a25cd196b5340104a4e440 (patch)
treec14cf6f6d8be04fa8cdfe65fc8e68411b399e757 /Makefile
parent49a8229d69ae7b82dff1417857285f5f0a73f43f (diff)
downloaddrakx-backup-do-not-use-fd6b89e3d9cb165829a25cd196b5340104a4e440.tar
drakx-backup-do-not-use-fd6b89e3d9cb165829a25cd196b5340104a4e440.tar.gz
drakx-backup-do-not-use-fd6b89e3d9cb165829a25cd196b5340104a4e440.tar.bz2
drakx-backup-do-not-use-fd6b89e3d9cb165829a25cd196b5340104a4e440.tar.xz
drakx-backup-do-not-use-fd6b89e3d9cb165829a25cd196b5340104a4e440.zip
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ba0a3e65c..c1bdad792 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,34 @@
BOOT_IMG = hd.img cdrom.img network.img network_ks.img pcmcia.img pcmcia_ks.img
+BOOT_RDZ = hd.rdz cdrom.rdz network.rdz pcmcia.rdz
BINS = install/install install/full-install install/local-install install/installinit/init
DIRS = tools install install/installinit perl-install lnx4win
ROOTDEST = /export
+AUTOBOOT = $(ROOTDEST)/dosutils/autoboot/mdkinst
.PHONY: dirs $(FLOPPY_IMG)
-install: build
+install: build autoboot
for i in images misc Mandrake Mandrake/base; do install -d $(ROOTDEST)/$$i ; done
cp -f $(BOOT_IMG) $(ROOTDEST)/images ; rm $(ROOTDEST)/images/*_ks.img
make -C perl-install full_stage2
build: $(BOOT_IMG)
+autoboot:
+ install -d $(AUTOBOOT)
+ cp -f hd.rdz $(AUTOBOOT)/initrd.hd
+ cp -f cdrom.rdz $(AUTOBOOT)/initrd.cd
+ cp -f pcmcia.rdz $(AUTOBOOT)/initrd.pc
+ cp -f network.rdz $(AUTOBOOT)/initrd.nt
+
dirs:
for i in $(DIRS); do make -C $$i; done
-$(BOOT_IMG): dirs modules
+$(BOOT_RDZ): dirs modules
+ ./make_boot_img $@ $(@:%.rdz=%)
+
+$(BOOT_IMG): %.img: %.rdz
./make_boot_img $@ $(@:%.img=%)
tar: clean