mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-26 23:29:19 +01:00
Unified for loops in Makefile.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6773 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
01674db272
commit
c9109f25c5
10
Makefile
10
Makefile
@ -27,13 +27,7 @@ lfs:
|
|||||||
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
||||||
tidy -config tidy.conf $$filename; \
|
tidy -config tidy.conf $$filename; \
|
||||||
true; \
|
true; \
|
||||||
done;
|
|
||||||
|
|
||||||
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
|
||||||
sh obfuscate.sh $$filename; \
|
sh obfuscate.sh $$filename; \
|
||||||
done;
|
|
||||||
|
|
||||||
for filename in `find $(BASEDIR) -name "*.html"`; do \
|
|
||||||
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
|
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
|
||||||
done;
|
done;
|
||||||
|
|
||||||
@ -60,10 +54,10 @@ nochunks:
|
|||||||
--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
|
--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
|
||||||
stylesheets/lfs-nochunks.xsl index.xml
|
stylesheets/lfs-nochunks.xsl index.xml
|
||||||
|
|
||||||
sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
|
||||||
|
|
||||||
tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
|
tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
|
||||||
|
|
||||||
|
sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
||||||
|
|
||||||
sed -i -e "s@text/html@application/xhtml+xml@g" \
|
sed -i -e "s@text/html@application/xhtml+xml@g" \
|
||||||
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user