Merge branch 'master' of github.com:jtsiomb/pcboot
[bootcensus] / Makefile
index 9622719..c4d724a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,13 @@ floppy.img: boot.img
        dd if=/dev/zero of=$@ bs=512 count=2880
        dd if=$< of=$@ conv=notrunc
 
        dd if=/dev/zero of=$@ bs=512 count=2880
        dd if=$< of=$@ conv=notrunc
 
+pcboot.iso: floppy.img
+       rm -rf cdrom
+       git archive --format=tar --prefix=cdrom/ HEAD | tar xf -
+       cp $< cdrom
+       mkisofs -o $@ -R -J -V pcboot -b $< cdrom
+
+
 boot.img: bootldr.bin $(bin)
        cat bootldr.bin $(bin) >$@
 
 boot.img: bootldr.bin $(bin)
        cat bootldr.bin $(bin) >$@