aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-04-11 21:29:27 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2011-04-11 21:29:27 +0200
commitadf82f192167052cff56a04c6354010b13a89599 (patch)
tree1eb8feb651a52b405fa49a3a7341fe7f012111f2 /com32/hdt
parent6826790fa50b948b1068e15269c64d4b4ee1c877 (diff)
downloadsyslinux-adf82f192167052cff56a04c6354010b13a89599.tar.gz
syslinux-adf82f192167052cff56a04c6354010b13a89599.tar.xz
syslinux-adf82f192167052cff56a04c6354010b13a89599.zip
hdt: Adding checksums file
When generating a release, let's create a list of the checksums
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
index 66dd6ede..72543c0e 100644
--- a/com32/hdt/Makefile
+++ b/com32/hdt/Makefile
@@ -29,6 +29,7 @@ OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
VERSION = $(shell $(SED) -n 's/\#define VERSION \"\(.*\)\"/\1/p' hdt.h)
CODENAME = $(shell $(SED) -n 's/\#define CODENAME \"\(.*\)\"/\1/p' hdt.h)
VERSION_C32 = $(shell echo $(VERSION) | $(SED) -e 's/-/_/g' | $(SED) -e 's/\./_/g')
+SUM_FILE = hdt-$(VERSION).checksums
MEMTEST_URL = http://memtest.org/download/4.20/memtest86+-4.20.bin
MEMTEST = memtest.bin
@@ -108,6 +109,10 @@ hdt.iso: hdt.c32 $(topdir)/core/isolinux.bin $(FLOPPY_DIR)/hdt.cfg memtest
release: spotless hdt.c32 hdt.img hdt.img.gz hdt.iso
mv hdt.c32 hdt_$(VERSION_C32).c32
+ md5sum hdt_$(VERSION_C32).c32 >$(SUM_FILE)
+ md5sum hdt-$(VERSION).iso >>$(SUM_FILE)
+ md5sum hdt-$(VERSION).img >>$(SUM_FILE)
+ md5sum hdt-$(VERSION).img.gz >>$(SUM_FILE)
test: hdt.img
$(QEMU) -fda hdt.img
@@ -123,6 +128,7 @@ spotless: clean
rm -rf $(ISO_DIR)
rm -rf $(FLOPPY_DIR)/$(MEMTEST)
rm -rf $(FLOPPY_DIR)/pci.ids*
+ rm -rf $(SUM_FILE)
rm -f *~ \#*
install: