aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-08-29 18:52:43 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-08-29 18:52:43 +0000
commitc9109f25c50599cc831b2610a8b568dd620aff25 (patch)
treeb8217dd6f4d86ae65bab6091a85d929d61024d7f
parent01674db27297482054aa51d401dad58711624148 (diff)
Unified for loops in Makefile.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6773 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 79e897c7a..1a60086d0 100644
--- a/Makefile
+++ b/Makefile
@@ -27,13 +27,7 @@ lfs:
for filename in `find $(BASEDIR) -name "*.html"`; do \
tidy -config tidy.conf $$filename; \
true; \
- done;
-
- for filename in `find $(BASEDIR) -name "*.html"`; do \
sh obfuscate.sh $$filename; \
- done;
-
- for filename in `find $(BASEDIR) -name "*.html"`; do \
sed -i -e "s@text/html@application/xhtml+xml@g" $$filename; \
done;
@@ -60,10 +54,10 @@ nochunks:
--output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
stylesheets/lfs-nochunks.xsl index.xml
- sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
-
tidy -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
+ sh obfuscate.sh $(BASEDIR)/$(NOCHUNKS_OUTPUT)
+
sed -i -e "s@text/html@application/xhtml+xml@g" \
$(BASEDIR)/$(NOCHUNKS_OUTPUT)