#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.40 2001/09/21 18:37:05 petere Exp $
+# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.41 2001/10/04 22:25:48 petere Exp $
#
#----------------------------------------------------------------------------
# TeX and DVI
$(addsuffix .tex, $(ALLBOOKS)): %.tex: %.sgml $(ALLSGML) stylesheet.dsl
$(JADE) $(JADEFLAGS) $(SGMLINCLUDE) -c $(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print book-decl.sgml $<
+# TeX transforms '--' into en-dashes. This hack should go away when
+# OpenJade is fixed (ver. 1.4?)
+ $(PERL) -pi -e 's/\-\-/\\mbox{}-\\mbox{}-\\mbox{}/g' $@
%.dvi: %.tex
jadetex $<
# man
rm -rf *.1 *.$(DEFAULTSECTION) man1 man$(DEFAULTSECTION) manpage.refs manpage.links manpage.log
# print
- rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf
+ rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf *.out
# index
rm -f HTML.index bookindex.sgml setindex.sgml