Tweak Makefile

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9909 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2012-07-16 17:38:43 +00:00
parent f896e21c3f
commit 5fc69b6e7c
2 changed files with 11 additions and 10 deletions

View File

@ -111,8 +111,9 @@ 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
#$(Q)sed -i -e "s/UDEV-MD5SUM/$(shell md5sum udev-config*.tar.bz2 | cut -d' ' -f1)/" \
# $(BASEDIR)/md5sums
dump-commands: validate

View File

@ -23,11 +23,11 @@ do
done
# Udev rules
for s in udev-config/*.rules
do
script=$(basename $s)
sed -e 's/\&/\&amp\;/g' -e 's/</\&lt\;/g' -e 's/>/\&gt\;/g' \
-e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/ /g' \
$s > appendices/${script}.script
done
#for s in udev-config/*.rules
#do
# script=$(basename $s)
#
# sed -e 's/\&/\&amp\;/g' -e 's/</\&lt\;/g' -e 's/>/\&gt\;/g' \
# -e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/ /g' \
# $s > appendices/${script}.script
#done