cvs commit: ALFS/docs/syntax_doc Makefile

jwrober at linuxfromscratch.org jwrober at linuxfromscratch.org
Tue Mar 30 19:18:57 PST 2004


jwrober     04/03/30 20:18:57

  Modified:    docs/syntax_doc Makefile
  Log:
  cleanup and fixes to match old scripts more closely
  
  Revision  Changes    Path
  1.9       +10 -5     ALFS/docs/syntax_doc/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /home/cvsroot/ALFS/docs/syntax_doc/Makefile,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile	31 Mar 2004 00:58:12 -0000	1.8
  +++ Makefile	31 Mar 2004 03:18:57 -0000	1.9
  @@ -6,8 +6,14 @@
   	  rm -rf $(OUTDIR); \
   	fi;
   
  +	if [ -e ALFS-SYNTAX_DOC ]; then \
  +	  rm -rf ALFS-SYNTAX_DOC; \
  +	fi;
  +
   dist-clean: clean
   	rm *.bz2
  +	rm *.html
  +	rm *.txt
   
   common: clean
   	if [ ! -e $(OUTDIR) ]; then \
  @@ -63,8 +69,9 @@
   	bash stylesheets/goTidy $(OUTDIR)
   	rm $(OUTDIR)tidy.conf
   	rm $(OUTDIR)stylesheets/alfs-chunked.xsl
  +	mv $(OUTDIR) ALFS-SYNTAX_DOC
   
  -	cd $(OUTDIR) && tar -cjvf ../nALFS-SYNTAX_DOC-CHUNKS-HTML.tar.bz2 *
  +	tar -cjvf ALFS-SYNTAX_DOC-CHUNKS-html.tar.bz2 ALFS-SYNTAX_DOC/*
   
   nochunks-html: common
   	sed -e "s at XSLROOTDIR@$(XSLROOTDIR)@" \
  @@ -96,11 +103,9 @@
   	bash stylesheets/goTidy $(OUTDIR)
   	rm $(OUTDIR)tidy.conf
   	rm $(OUTDIR)alfs-onechunk.xsl
  -
  -	cd $(OUTDIR) && tar -cjvf ../nALFS-SYNTAX_DOC-NOCHUNKS-HTML.tar.bz2 *
  +	mv $(OUTDIR)index.html ALFS-SYNTAX_DOC-CVS-NOCHUNKS.html
   
   flat-text: nochunks-html
  -	lynx -dump $(OUTDIR)index.html > $(OUTDIR)nALFS-SYNTAX_DOC.txt
  -	cd $(OUTDIR) && tar -cjvf ../nALFS-SYNTAX_DOC-TXT.tar.bz2 nALFS-SYNTAX_DOC.txt
  +	lynx -dump ALFS-SYNTAX_DOC-CVS-NOCHUNKS.html > ALFS-SYNTAX_DOC-CVS.txt
   
   .PHONY: clean dist-clean common chunks-html nochunks-html flat-text
  
  
  



More information about the alfs-log mailing list