r1764 - branches/clfs-2.0/BOOK

jciccone at linuxfromscratch.org jciccone at linuxfromscratch.org
Sun Jun 11 18:37:48 PDT 2006


Author: jciccone
Date: 2006-06-11 19:37:47 -0600 (Sun, 11 Jun 2006)
New Revision: 1764

Modified:
   branches/clfs-2.0/BOOK/Makefile
Log:
Updated the clfs-2.0 branch Makefile.

Modified: branches/clfs-2.0/BOOK/Makefile
===================================================================
--- branches/clfs-2.0/BOOK/Makefile	2006-06-11 18:47:11 UTC (rev 1763)
+++ branches/clfs-2.0/BOOK/Makefile	2006-06-12 01:37:47 UTC (rev 1764)
@@ -17,8 +17,11 @@
 ARCHS_DUMP	:= $(ARCHS:%=%$(S)dump)
 ARCHS_DLLIST	:= $(ARCHS:%=%$(S)dllist)
 
+.PHONY: lfs tidy render titlepage $(ARCHS_HTML) nochunks $(ARCHS_NOCHUNKS) pdf $(ARCHS_PDF) text $(ARCHS_TEXT) validate $(ARCHS_VALIDATE) trouble $(ARCHS_TROUBLE) dump-commands $(ARCHS_DUMP) download-list $(ARCHS_DLLIST)
+
 lfs: render tidy
 
+ifeq ($(shell which tidy >/dev/null 2>&1 && echo yes),yes)
 tidy:
 	@echo Running tidy on the created HTML
 	@for filename in `find $(BASEDIR) -name "*.html"`; do \
@@ -27,6 +30,10 @@
 	  sh obfuscate.sh $$filename; \
 	  sed -i -e "s at text/html at application/xhtml+xml at g" $$filename; \
 	done;
+else
+tidy:
+	@echo Tidy is not installed on this system
+endif
 
 render: $(ARCHS_HTML) titlepage
 




More information about the cross-lfs mailing list