BUG: fix the deps on the creation of the batch files

pull/28/head
Hamish Coleman 7 years ago
parent f78f9c2419
commit 7e614e9da5

@ -170,6 +170,9 @@ $(DEPSDIR)/slice.insert.deps: Makefile
# file - and I dont want to work around that with makefile magic as that would
# defeat the purpose of keeping the makefile simple
# TODO - the scripts/describe output depends on Descriptions.txt -
# could parse that file and create some deps
#
# Download any ISO image that we have a checksum for
# NOTE: makes an assumption about the Lenovo URL not changing
@ -212,7 +215,7 @@ $(DEPSDIR)/slice.insert.deps: Makefile
# DOS path separator. It feels like there should be a beter way if I put
# my mind to it..
#
%.iso.bat: %.iso.orig descriptions.txt autoexec.bat.template
%.iso.bat: %.iso.orig autoexec.bat.template
sed -e "s%__DIR%`mdir -/ -b -i $<@@$(FAT_OFFSET) |grep FL2 |cut -d/ -f3`%; s%__FL2%`mdir -/ -b -i $<@@$(FAT_OFFSET) |grep FL2 |cut -d/ -f4`%; s%__DESC%`scripts/describe $<`%; s/__BUILDINFO/$(BUILDINFO)/" autoexec.bat.template >$@.tmp
mv $@.tmp $@
touch -d @1 $@

Loading…
Cancel
Save