cvs commit: ALFS/docs/syntax_doc Makefile

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Sat Mar 13 21:20:42 PST 2004


jwrober     04/03/13 22:20:42

  Modified:    docs/syntax_doc Makefile
  Log:
  added nochunks target
  
  Revision  Changes    Path
  1.6       +64 -0     ALFS/docs/syntax_doc/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/Makefile,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Makefile	14 Mar 2004 04:27:26 -0000	1.5
  +++ Makefile	14 Mar 2004 05:20:42 -0000	1.6
  @@ -70,3 +70,67 @@
   	bash stylesheets/goTidy $(OUTDIR)
   	rm $(OUTDIR)tidy.conf
   
  +nochunks-html:
  +	if [ ! -e $(OUTDIR) ]; then \
  +	  mkdir -p $(OUTDIR); \
  +	fi;
  +
  +	if [ ! -e $(OUTDIR)stylesheets ]; then \
  +	  mkdir -p $(OUTDIR)stylesheets; \
  +	fi;
  +
  +	if [ ! -e $(OUTDIR)../stylesheets ]; then \
  +	  mkdir -p $(OUTDIR)../stylesheets; \
  +	fi;
  +
  +	if [ ! -e $(OUTDIR)images ]; then \
  +	  mkdir -p $(OUTDIR)images; \
  +	fi;
  +
  +	cp index.xml $(OUTDIR)..
  +	cp -R --parents alfs_dtd/* $(OUTDIR)..
  +	cp -R --parents book/* $(OUTDIR)..
  +	cp -R --parents preface/* $(OUTDIR)..
  +
  +	bash stylesheets/entResolver $(OUTDIR)
  +
  +	sed -e "s at XSLROOTDIR@$(XSLROOTDIR)@" \
  +	  stylesheets/alfs-onechunk.xsl \
  +	  > $(OUTDIR)../stylesheets/alfs-onechunk.xsl
  +
  +	xsltproc --nonet -stringparam base.dir $(OUTDIR) \
  +	  $(OUTDIR)../stylesheets/alfs-onechunk.xsl \
  +	  $(OUTDIR)../index.xml
  +
  +	cp stylesheets/alfs.css $(OUTDIR)stylesheets
  +
  +	cp $(XSLROOTDIR)images/*.png \
  +	  $(OUTDIR)images
  +
  +	sed -i -e "s at ../stylesheets at stylesheets@" \
  +	  $(OUTDIR)index.html
  +
  +	sed -i -e "s at ../images at images@g" \
  +	  $(OUTDIR)index.html
  +
  +	echo indent-spaces: 2 > $(OUTDIR)tidy.conf
  +	echo wrap: 78 >> $(OUTDIR)tidy.conf
  +	echo tab-size: 8 >> $(OUTDIR)tidy.conf
  +	echo input-encoding: latin1 >> $(OUTDIR)tidy.conf
  +	echo output-encoding: latin1 >> $(OUTDIR)tidy.conf
  +	echo newline: CRLF >> $(OUTDIR)tidy.conf
  +	echo write-back: yes >> $(OUTDIR)tidy.conf
  +	echo markup: yes >> $(OUTDIR)tidy.conf
  +	echo show-warnings: no >> $(OUTDIR)tidy.conf
  +	echo quiet: yes >> $(OUTDIR)tidy.conf
  +	echo indent: yes >> $(OUTDIR)tidy.conf
  +	echo hide-endtags: no >> $(OUTDIR)tidy.conf
  +	echo uppercase-tags: yes >> $(OUTDIR)tidy.conf
  +	echo logical-emphasis: yes >> $(OUTDIR)tidy.conf
  +	echo drop-font-tags: yes >> $(OUTDIR)tidy.conf
  +	echo tidy-mark: no >> $(OUTDIR)tidy.conf
  +	echo numeric-entities: yes >> $(OUTDIR)tidy.conf
  +
  +	bash stylesheets/goTidy $(OUTDIR)
  +	rm $(OUTDIR)tidy.conf
  +
  
  
  



More information about the alfs-log mailing list