summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-08-25 12:12:01 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-08-25 12:12:01 +0000
commit127f35b9f583ba378b8507c5e8011182be4323f0 (patch)
tree199426c374956c97c409530c50a1c0a0d6262fab /Makefile
parent94e662940cfa660168652ea996071a175012a1eb (diff)
downloaddrakx-backup-do-not-use-127f35b9f583ba378b8507c5e8011182be4323f0.tar
drakx-backup-do-not-use-127f35b9f583ba378b8507c5e8011182be4323f0.tar.gz
drakx-backup-do-not-use-127f35b9f583ba378b8507c5e8011182be4323f0.tar.bz2
drakx-backup-do-not-use-127f35b9f583ba378b8507c5e8011182be4323f0.tar.xz
drakx-backup-do-not-use-127f35b9f583ba378b8507c5e8011182be4323f0.zip
no_comment
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 000000000..471e5abfc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,30 @@
+BOOT_IMG = mdkinst_hd.img mdkinst_cdrom.img mdkinst_network.img mdkinst_network_ks.img
+BINS = install/install install/local-install install/installinit/init
+
+
+
+.PHONY: $(BOOT_IMG) $(FLOPPY_IMG) $(BINS) update_kernel
+
+all: $(BOOT_IMG)
+ mkdir /export/images
+ cp -f $(BOOT_IMG) /export/images
+
+clean:
+ rm -rf $(BOOT_IMG) $(BINS) modules vmlinuz
+
+$(BOOT_IMG): $(BINS)
+ if [ ! -e modules ]; then $(MAKE) update_kernel; fi
+ ./make_boot_img $@ $(@:mdkinst_%.img=%)
+
+$(BINS):
+ $(MAKE) -C `dirname $@`
+
+
+update_kernel:
+ ./update_kernel
+
+$(BOOT_IMG:%=%f): %f: %
+ dd if=$< of=/dev/fd0
+ xmessage "Floppy done"
+
+# mkisofs -R -b images/mdkinst_cdrom.img -c images/b /tmp/r /mnt/disk/ | cdrecord -v -eject speed=6 dev=1,0 - \ No newline at end of file