hdt: Adding hybrid iso image during release
authorErwan Velu <erwanaliasr1@gmail.com>
Tue, 26 Apr 2011 17:52:25 +0000 (19:52 +0200)
committerErwan Velu <erwanaliasr1@gmail.com>
Tue, 26 Apr 2011 17:52:25 +0000 (19:52 +0200)
When we release hdt, generating an usb hybrid image could be useful.

com32/hdt/Makefile

index f187346..17fa1ab 100644 (file)
@@ -110,10 +110,16 @@ hdt.iso: hdt.c32 $(topdir)/core/isolinux.bin $(FLOPPY_DIR)/hdt.cfg memtest
        mv hdt.iso hdt-$(VERSION).iso
        ln -sf hdt-$(VERSION).iso hdt.iso
 
-release: spotless hdt.c32 hdt.img hdt.img.gz hdt.iso
+hdt-hybrid.iso: hdt.iso ../../utils/isohybrid
+       cp hdt-$(VERSION).iso hdt-hybrid-$(VERSION).iso
+       ../../utils/isohybrid --partok hdt-hybrid-$(VERSION).iso
+       ln -sf hdt-hybrid-$(VERSION).iso hdt-hybrid.iso
+
+release: spotless hdt.c32 hdt.img hdt.img.gz hdt.iso hdt-hybrid.iso
        mv hdt.c32 hdt_$(NODASH_VERSION).c32
        md5sum hdt_$(NODASH_VERSION).c32 >$(SUM_FILE)
        md5sum hdt-$(VERSION).iso >>$(SUM_FILE)
+       md5sum hdt-hybrid-$(VERSION).iso >>$(SUM_FILE)
        md5sum hdt-$(VERSION).img >>$(SUM_FILE)
        md5sum hdt-$(VERSION).img.gz >>$(SUM_FILE)