/[pub]/test/xhtmlbasicmakefile
Suika

Diff of /test/xhtmlbasicmakefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mimasa, Wed Feb 4 10:35:03 2004 UTC revision 1.5.2.1 by ahby, Wed Mar 22 15:20:07 2006 UTC
# Line 5  Line 5 
5  # $Id$  # $Id$
6  #  #
7  # $Log$  # $Log$
8  # Revision 1.1  2004/02/04 10:35:03  mimasa  # Revision 1.5.2.1  2006/03/22 15:20:07  ahby
9  # Added files for production.  # Fixed previous to point into new directory.
10    #
11    # Revision 1.5.2.1  2006/03/22 15:20:07  ahby
12    # Fixed previous to point into new directory.
13    #
14    # Revision 1.5  2004/11/12 22:45:01  ahby
15    # Fixed the release generation script again.
16    #
17    # Revision 1.4  2004/11/12 21:52:10  ahby
18    # grrrr
19    #
20    # Revision 1.3  2004/11/12 21:51:19  ahby
21    # Changed previous.
22    #
23    # Revision 1.2  2004/11/12 21:27:51  ahby
24    # Added second edition data.
25  #  #
26  # Revision 1.1  2004/02/04 10:35:03  mimasa  # Revision 1.1  2004/02/04 10:35:03  mimasa
27  # Added files for production.  # Added files for production.
# Line 65  Line 80 
80  .mhtml.html:  .mhtml.html:
81          -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@          -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@
82    
83  TYPE = WD  TYPE = PER
84    
85  TIDY = /usr/local/bin/tidy -n -wrap 200  TIDY = /usr/local/bin/tidy -n -wrap 200
86    
# Line 73  SOURCE = Line 88  SOURCE =
88    
89  OUTPUT =  OUTPUT =
90    
91  PREVIOUS = /home/ahby/xhtml-basic-20001219.html  PREVIOUS = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html
92    
93  all: $(OUTPUT) Overview.html  all: $(OUTPUT) index.html
94    
95  dev: all  dev: all
96          /usr/local/bin/htmldiff -o $(PREVIOUS) Overview.html xhtml-print-diff.html          /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html
97          /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps Overview.html          /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html
98          ps2pdf xhtml-basic.ps xhtml-basic.pdf          ps2pdf xhtml-basic.ps xhtml-basic.pdf
99    
100  release: $(OUTPUT)  release: $(OUTPUT)
101          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" --set date "$(DATE)" --set release "$(RELEASE)" Overview.mhtml | $(TIDY) > Overview.html          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" --set date "$(DATE)" --set release "$(RELEASE)" Overview.mhtml | $(TIDY) > index.html
102          rm -f fixrefs.sed          rm -f fixrefs.sed
103    
104  validate: $(OUTPUT) Overview.html  validate: $(OUTPUT) index.html
105          for file in $(OUTPUT) Overview.html; \          for file in $(OUTPUT) index.html; \
106          do \          do \
107          /usr/local/bin/nsgmls -s -wxml $$file ; \          /usr/local/bin/nsgmls -s -wxml $$file ; \
108          done          done
109    
110  clobber:  clobber:
111          -rm -rf $(OUTPUT) Overview.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz          -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz
112    
113  $(OUTPUT): xmacros.mhtml  $(OUTPUT): xmacros.mhtml
114    
115  Overview.html: Overview.mhtml xmacros.mhtml $(SOURCE)  index.html: Overview.mhtml xmacros.mhtml $(SOURCE)
116          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > Overview.html          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html
117          rm -f fixrefs.sed          rm -f fixrefs.sed

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5.2.1

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24