diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-07 20:57:09 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-07 20:57:09 +0000 |
commit | 7506d04e28e759651e3b7cf0f671282cfb8ab4fd (patch) | |
tree | dcc0c1b0d2b0b05ca3f50a2766c7e15cd07d3718 /Makefile | |
parent | 1ce42efc4cb4b55e9e64a347176288d71b9d5cc5 (diff) | |
download | mandoc-7506d04e28e759651e3b7cf0f671282cfb8ab4fd.tar.gz |
First check-in of PostScript output. This does not change any logic
within term.c, but does add a small shim over putchar() that switches on
the output engine. Prints, for this initial version, only monospace and
without font decorations. It's a start.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -1,4 +1,4 @@ -.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml .h .h.html +.SUFFIXES: .html .xml .sgml .1 .3 .7 .md5 .tar.gz .1.txt .3.txt .7.txt .1.sgml .3.sgml .7.sgml .h .h.html .1.ps .3.ps .7.ps PREFIX = /usr/local BINDIR = $(PREFIX)/bin @@ -33,6 +33,8 @@ MANDOCFLAGS = -Wall -fstrict MANDOCHTML = -Thtml -Ostyle=style.css,man=%N.%S.html,includes=%I.html +MANDOCPS = -Tps + ROFFLNS = roff.ln ROFFSRCS = roff.c @@ -107,6 +109,9 @@ HTMLS = ChangeLog.html index.html man.h.html mdoc.h.html \ man.3.html mdoc.7.html man.7.html mandoc_char.7.html \ roff.7.html roff.3.html +PSS = mandoc.1.ps mdoc.3.ps man.3.ps mdoc.7.ps man.7.ps \ + mandoc_char.7.ps roff.7.ps roff.3.ps + XSLS = ChangeLog.xsl TEXTS = mandoc.1.txt mdoc.3.txt man.3.txt mdoc.7.txt man.7.txt \ @@ -134,7 +139,7 @@ CONFIGS = config.h.pre config.h.post DOCLEAN = $(BINS) $(LNS) $(LLNS) $(LIBS) $(OBJS) $(HTMLS) \ $(TARGZS) tags $(MD5S) $(XMLS) $(TEXTS) $(GSGMLS) \ - config.h config.log + config.h config.log $(PSS) DOINSTALL = $(SRCS) $(HEADS) Makefile $(MANS) $(SGMLS) $(STATICS) \ $(DATAS) $(XSLS) $(EXAMPLES) $(TESTS) $(CONFIGS) @@ -146,15 +151,11 @@ lint: $(LLNS) clean: rm -f $(DOCLEAN) -cleanlint: - rm -f $(LNS) $(LLNS) - -cleanhtml: - rm -f $(HTMLS) $(GSGMLS) - dist: mdocml-$(VERSION).tar.gz -www: all $(GSGMLS) $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS) +www: all $(GSGMLS) $(HTMLS) $(TEXTS) $(MD5S) $(TARGZS) $(PSS) + +ps: $(PSS) installwww: www $(INSTALL_DATA) $(HTMLS) $(TEXTS) $(STATICS) $(DESTDIR)$(PREFIX)/ @@ -301,6 +302,9 @@ mandoc: $(MAINOBJS) libroff.a libmdoc.a libman.a libmandoc.a .1.1.sgml .3.3.sgml .7.7.sgml: ./mandoc $(MANDOCFLAGS) $(MANDOCHTML) $< > $@ +.1.1.ps .3.3.ps .7.7.ps: + ./mandoc $(MANDOCFLAGS) $(MANDOCPS) $< > $@ + .tar.gz.md5: md5 $< > $@ |