diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -103,6 +103,17 @@ wget-list: $(Q)xsltproc --xinclude --nonet --output $(BASEDIR)/wget-list \ stylesheets/wget-list.xsl chapter03/chapter03.xml +md5sums: + @echo "Generating md5sum file..." + $(Q)mkdir -p $(BASEDIR) + $(Q)xsltproc --xinclude --nonet --output $(BASEDIR)/md5sums \ + stylesheets/md5sum.xsl chapter03/chapter03.xml + $(Q)sed -i -e "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.bz2 | cut -d' ' -f1)/" \ + $(BASEDIR)/md5sums + $(Q)sed -i -e "s/UDEV-MD5SUM/$(shell md5sum udev-config*.tar.bz2 | cut -d' ' -f1)/" \ + $(BASEDIR)/md5sums + + dump-commands: validxml @echo "Dumping book commands..." $(Q)xsltproc --output $(DUMPDIR)/ \ @@ -111,7 +122,7 @@ dump-commands: validxml validate: maketar validxml @echo "Validation complete." -all: lfs nochunks pdf dump-commands +all: lfs nochunks pdf dump-commands md5sums .PHONY : all dump-commands lfs nochunks pdf profile-html tmpdir validate \ - validxml wget-list maketar + validxml wget-list maketar md5sums |