]> granicus.if.org Git - postgresql/commitdiff
Hack for Jade vs TeX interpretation of "--"
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 4 Oct 2001 22:25:48 +0000 (22:25 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 4 Oct 2001 22:25:48 +0000 (22:25 +0000)
doc/src/sgml/Makefile

index 3e7c0a8bc3afcfb20177eef3ad759f18c6c0e3bb..364f41d72e6fe94a8dc6cfddf2420f27a96311ef 100644 (file)
@@ -8,7 +8,7 @@
 #
 #
 # 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 $
 #
 #----------------------------------------------------------------------------
 
@@ -120,6 +120,9 @@ $(addsuffix .rtf, $(ALLBOOKS)): %.rtf: %.sgml $(ALLSGML) stylesheet.dsl
 # 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 $<
@@ -195,6 +198,6 @@ clean distclean maintainer-clean:
 # 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