[BACK]Return to web.site.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / htdocs / share / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /htdocs/share/mk/web.site.mk between version 1.72 and 1.73

version 1.72, 2011/07/30 16:50:41 version 1.73, 2020/01/20 21:39:50
Line 20 
Line 20 
 #       They are generated in the "all" target, installed in the "install"  #       They are generated in the "all" target, installed in the "install"
 #       target and removed in the "clean" target.  #       target and removed in the "clean" target.
 #  #
 # LISTDOCS:  
 #       The list of *.list files that will be converted to HTML.  
 #  
 # LISTCOLLECTION:  
 #       The name of the collection of manual pages that should be used  
 #       for linking to the appropriate pages. It has the form  
 #       NetBSD-${version}.  
 #  
 #       Example:  
 #       LISTCOLLECTION=         NetBSD-1.6  
 #  
 # XMLDOCS:  # XMLDOCS:
 #       (See web.xml.mk.)  #       (See web.xml.mk.)
 #  #
Line 105  HTML2TXTOPTS?= -force_html -dump -nolist
Line 94  HTML2TXTOPTS?= -force_html -dump -nolist
 ISPELL?=        ispell  ISPELL?=        ispell
 ISPELLOPTS?=    -l -p ${WEB_PREFIX}/en/share/dict/words ${ISPELLFLAGS}  ISPELLOPTS?=    -l -p ${WEB_PREFIX}/en/share/dict/words ${ISPELLFLAGS}
   
 # Handle old .LIST files.  
 .if exists(${WEB_PREFIX}/${DOCLANG}/list2html.pl)  
 LIST2HTML?=     ${PERL} ${WEB_PREFIX}/${DOCLANG}/list2html.pl  
 .else  
 LIST2HTML?=     ${PERL} ${WEB_PREFIX}/list2html.pl  
 .endif  
   
 LIST2HTMLOPTS?= -q  
 .if defined(LISTCOLLECTION)  
 LIST2HTMLOPTS+= -c ${LISTCOLLECTION}  
 .endif  
   
 # for docbook-website DTD  # for docbook-website DTD
 #  #
 # Note: must be before web.xml.mk.  # Note: must be before web.xml.mk.
Line 147  COPY= -c
Line 124  COPY= -c
         @${ECHO} "[html2txt] ${.IMPSRC} -> ${.TARGET}"          @${ECHO} "[html2txt] ${.IMPSRC} -> ${.TARGET}"
         ${RUN} ${HTML2TXT} ${HTML2TXTOPTS} ${.IMPSRC} > ${.TARGET}          ${RUN} ${HTML2TXT} ${HTML2TXTOPTS} ${.IMPSRC} > ${.TARGET}
   
 ###  
 # file.list --> file.html  
 #  
 # Generate HTML from old LIST format files  
   
 LISTDOCS?=      # none  
 .if ${LISTDOCS:N*.list} != ""  
 ERRORS+=        "All LISTDOCS entries must be of the form \"*.list\"."  
 .endif  
 GENDOCS+=       ${LISTDOCS:.list=.html}  
   
 .for list in ${LISTDOCS}  
 .  for html in ${list:.list=.html}  
 ${html}: ${list}  
         @${ECHO} "[list2html] ${list} -> ${html}"  
         ${RUN} ${LIST2HTML} ${LIST2HTMLOPTS} ${list} ${html}  
 .  endfor  
 .endfor  
   
 #  #
 # HTML files are just copied.  # HTML files are just copied.
 #  #

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73

CVSweb <webmaster@jp.NetBSD.org>