summaryrefslogtreecommitdiff
path: root/com32/hdt/Makefile
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-11-29 14:11:09 +0100
committerErwan Velu <erwan.velu@free.fr>2009-12-04 10:11:15 +0100
commit9a00c80785ab2f5cd37d0382ce77ff51dd1bb25f (patch)
treeae8567c6d23cb68d0017b52b3849d8668ad83944 /com32/hdt/Makefile
parent16e3c1c438479d89ab270fd8ea672d5680e7ee52 (diff)
downloadsyslinux-9a00c80785ab2f5cd37d0382ce77ff51dd1bb25f.tar.gz
hdt: Keeping symlinks on generated binaries
Impact: none Building binary images let some symlinks useful for testing
Diffstat (limited to 'com32/hdt/Makefile')
-rw-r--r--com32/hdt/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/hdt/Makefile b/com32/hdt/Makefile
index 120e5065..d059bf2a 100644
--- a/com32/hdt/Makefile
+++ b/com32/hdt/Makefile
@@ -73,10 +73,12 @@ hdt.img: hdt.c32 $(FLOPPY_DIR)/hdt.cfg $(FLOPPY_DIR)/mtools.conf $(topdir)/mtool
MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(FLOPPY_DIR)/$(MEMTEST) a:
MTOOLSRC=$(PWD)/$(FLOPPY_DIR)/mtools.conf $(MCOPY) $(ART_DIR)/backgnd.png a:
mv hdt.img hdt-$(VERSION).img
+ ln -sf hdt-$(VERSION).img hdt.img
hdt.img.gz: hdt.img
rm -rf hdt*.img.gz
$(GZIPPROG) -c hdt-$(VERSION).img >hdt-$(VERSION).img.gz
+ ln -sf hdt-$(VERSION).img.gz hdt.img.gz
hdt.iso: hdt.c32 $(topdir)/core/isolinux.bin $(FLOPPY_DIR)/hdt.cfg memtest
rm -rf $(ISO_DIR)
@@ -104,6 +106,7 @@ hdt.iso: hdt.c32 $(topdir)/core/isolinux.bin $(FLOPPY_DIR)/hdt.cfg memtest
-no-emul-boot -boot-load-size 4 -boot-info-table \
$(ISO_DIR)
mv hdt.iso hdt-$(VERSION).iso
+ ln -sf hdt-$(VERSION).iso hdt.iso
release: spotless hdt.c32 hdt.img hdt.img.gz hdt.iso
mv hdt.c32 hdt_$(VERSION_C32).c32