XCOMM $XFree86: xc/config/cf/lnxdoc.tmpl,v 3.15 2008/12/08 16:44:19 tsi Exp $
XCOMM

#ifndef HasSgmlFmt
#define HasSgmlFmt	  NO
#endif

#ifndef HasLinuxDoc
#define HasLinuxDoc	  NO
#endif

#ifndef DoSgmlDocs
#define DoSgmlDocs	  (HasLinuxDoc || HasSgmlFmt)
#endif

#ifndef XFree86IdentFix
#define XFree86IdentFix	  sed -e '/\$$\XFree86:/s/....\/..\/.. ..:..:.. *//' \
			      -e '/\$$\XFree86:/s/\$$/Generated from /'
#endif

#ifndef HasLatex
#define HasLatex	  NO
#endif

#ifndef SgmlFmtCmd
#define SgmlFmtCmd	  sgmlfmt
#endif

#ifndef HasDvips
#define HasDvips	  NO
#endif

#ifndef DvipsOptions
#define DvipsOptions	  /**/
#endif

#ifndef DvipsCmd
#define DvipsCmd	  dvips
#endif

#ifndef BuildLinuxDocText
#define BuildLinuxDocText DoSgmlDocs
#endif

#ifndef BuildLinuxDocHtml
#define BuildLinuxDocHtml DoSgmlDocs
#endif

#ifndef BuildLinuxDocPS
#define BuildLinuxDocPS	  DoSgmlDocs
#endif

#ifndef BuildSgmlDocs
#define BuildSgmlDocs	  DoSgmlDocs
#endif

#ifndef ReadmeFile
#define ReadmeFile(base)  README.base     
#endif


  XFREE86IDENTFIX = XFree86IdentFix
            DVIPS = DvipsCmd
     DVIPSOPTIONS = DvipsOptions
       SGMLFMTCMD = SgmlFmtCmd

/* Some extra things to clean */
#undef  DocFilesToClean
#define DocFilesToClean *.aux *.dvi *.html *.latin1 *.log *.pdf *.ps *.tex *.toc
