|
2 | 2 | #
|
3 | 3 | # PostgreSQL documentation makefile
|
4 | 4 | #
|
5 |
| -# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.125 2009/08/11 22:21:51 petere Exp $ |
| 5 | +# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.126 2009/08/15 01:56:35 tgl Exp $ |
6 | 6 | #
|
7 | 7 | #----------------------------------------------------------------------------
|
8 | 8 |
|
@@ -178,8 +178,6 @@ postgres.pdf:
|
178 | 178 | pdfjadetex $<
|
179 | 179 | pdfjadetex $<
|
180 | 180 |
|
181 |
| -.PRECIOUS: %-A4.tex-ps %-US.tex-ps %-A4.tex-pdf %-US.tex-pdf |
182 |
| - |
183 | 181 | # Cancel built-in suffix rules, interfering with PS building
|
184 | 182 | .SUFFIXES:
|
185 | 183 |
|
@@ -357,22 +355,28 @@ endif # sqlmansectnum != 7
|
357 | 355 | # This allows removing some files from the distribution tarballs while
|
358 | 356 | # keeping the dependencies satisfied.
|
359 | 357 | .SECONDARY: postgres.xml $(GENERATED_SGML) HTML.index
|
| 358 | +.SECONDARY: INSTALL.html HISTORY.html regress_README.html |
| 359 | +.SECONDARY: %-A4.tex-ps %-US.tex-ps %-A4.tex-pdf %-US.tex-pdf |
360 | 360 |
|
361 |
| -distclean: |
| 361 | +clean: |
362 | 362 | rm -f postgres.xml $(GENERATED_SGML) HTML.index
|
| 363 | + rm -f INSTALL.html HISTORY.html regress_README.html |
| 364 | + rm -f $(addprefix $(srcdir)/,*.tex-ps *.tex-pdf *.dvi *.aux *.log *.out *.fot) |
363 | 365 |
|
364 |
| -maintainer-clean: distclean |
365 |
| -# HTML |
366 |
| - rm -rf $(addprefix $(srcdir)/,html/ html-stamp) |
367 |
| -# man |
368 |
| - rm -rf $(addprefix $(srcdir)/,man1/ man3/ man7/ man-stamp) |
| 366 | +distclean: clean |
| 367 | +# text --- these are shipped, but not in this directory |
| 368 | + rm -f $(addprefix $(srcdir)/,INSTALL HISTORY regress_README) |
369 | 369 | # print
|
370 |
| - rm -f $(addprefix $(srcdir)/,*.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.fot) |
| 370 | + rm -f $(addprefix $(srcdir)/,*.rtf *.ps *.pdf) |
371 | 371 | # index
|
372 | 372 | rm -f $(addprefix $(srcdir)/,HTML.index $(GENERATED_SGML))
|
373 |
| -# text |
374 |
| - rm -f $(addprefix $(srcdir)/,INSTALL HISTORY regress_README) |
375 | 373 | # XSLT
|
376 | 374 | rm -f $(addprefix $(srcdir)/,htmlhelp.hhp toc.hhc index.hhk *.fo)
|
377 | 375 | # Texinfo
|
378 | 376 | rm -f $(addprefix $(srcdir)/,*.texixml *.texi *.info db2texi.refs)
|
| 377 | + |
| 378 | +maintainer-clean: distclean |
| 379 | +# HTML |
| 380 | + rm -rf $(addprefix $(srcdir)/,html/ html-stamp) |
| 381 | +# man |
| 382 | + rm -rf $(addprefix $(srcdir)/,man1/ man3/ man7/ man-stamp) |
0 commit comments