|
8 | 8 | # |
9 | 9 | # |
10 | 10 | # IDENTIFICATION |
11 | | -# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.40 2001/09/21 18:37:05 petere Exp $ |
| 11 | +# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.41 2001/10/04 22:25:48 petere Exp $ |
12 | 12 | # |
13 | 13 | #---------------------------------------------------------------------------- |
14 | 14 |
|
@@ -120,6 +120,9 @@ $(addsuffix .rtf, $(ALLBOOKS)): %.rtf: %.sgml $(ALLSGML) stylesheet.dsl |
120 | 120 | # TeX and DVI |
121 | 121 | $(addsuffix .tex,$(ALLBOOKS)):%.tex:%.sgml$(ALLSGML) stylesheet.dsl |
122 | 122 | $(JADE)$(JADEFLAGS)$(SGMLINCLUDE) -c$(CATALOG) -d stylesheet.dsl -t tex -V tex-backend -i output-print book-decl.sgml$< |
| 123 | +# TeX transforms '--' into en-dashes. This hack should go away when |
| 124 | +# OpenJade is fixed (ver. 1.4?) |
| 125 | +$(PERL) -pi -e 's/\-\-/\\mbox{}-\\mbox{}-\\mbox{}/g' $@ |
123 | 126 |
|
124 | 127 | %.dvi:%.tex |
125 | 128 | jadetex$< |
@@ -195,6 +198,6 @@ clean distclean maintainer-clean: |
195 | 198 | # man |
196 | 199 | rm -rf *.1 *.$(DEFAULTSECTION) man1 man$(DEFAULTSECTION) manpage.refs manpage.links manpage.log |
197 | 200 | # print |
198 | | -rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf |
| 201 | +rm -f *.rtf *.tex *.dvi *.aux *.log *.ps *.pdf *.out |
199 | 202 | # index |
200 | 203 | rm -f HTML.index bookindex.sgml setindex.sgml |