Annotation of mandoc/Makefile, Revision 1.395.2.1
1.319 kristaps 1: .PHONY: clean install installwww
2: .SUFFIXES: .sgml .html .md5 .h .h.html
1.356 schwarze 3: .SUFFIXES: .1 .3 .7 .8
4: .SUFFIXES: .1.txt .3.txt .7.txt .8.txt
5: .SUFFIXES: .1.pdf .3.pdf .7.pdf .8.pdf
6: .SUFFIXES: .1.ps .3.ps .7.ps .8.ps
7: .SUFFIXES: .1.html .3.html .7.html .8.html
8: .SUFFIXES: .1.xhtml .3.xhtml .7.xhtml .8.xhtml
1.259 kristaps 9:
10: # Specify this if you want to hard-code the operating system to appear
11: # in the lower-left hand corner of -mdoc manuals.
1.375 kristaps 12: #
1.319 kristaps 13: # CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
1.259 kristaps 14:
1.395 kristaps 15: VERSION = 1.12.1
16: VDATE = 23 March 2012
1.375 kristaps 17:
1.341 kristaps 18: # IFF your system supports multi-byte functions (setlocale(), wcwidth(),
19: # putwchar()) AND has __STDC_ISO_10646__ (that is, wchar_t is simply a
20: # UCS-4 value) should you define USE_WCHAR. If you define it and your
21: # system DOESN'T support this, -Tlocale will produce garbage.
22: # If you don't define it, -Tlocale is a synonym for -Tacsii.
1.375 kristaps 23: #
1.362 kristaps 24: CFLAGS += -DUSE_WCHAR
1.375 kristaps 25:
1.380 kristaps 26: # If your system has manpath(1), uncomment this. This is most any
27: # system that's not OpenBSD or NetBSD. If uncommented, apropos(1),
28: # mandocdb(8), and man.cgi will popen(3) manpath(1) to get the MANPATH
29: # variable.
1.384 schwarze 30: #CFLAGS += -DUSE_MANPATH
1.383 kristaps 31:
1.390 kristaps 32: # If your system supports static binaries only, uncomment this. This
33: # appears only to be BSD UNIX systems (Mac OS X has no support and Linux
34: # requires -pthreads for static libdb).
1.386 kristaps 35: STATIC = -static
1.379 kristaps 36:
1.362 kristaps 37: CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
1.319 kristaps 38: CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
39: PREFIX = /usr/local
1.387 kristaps 40: WWWPREFIX = /var/www
41: HTDOCDIR = $(WWWPREFIX)/htdocs
42: CGIBINDIR = $(WWWPREFIX)/cgi-bin
1.319 kristaps 43: BINDIR = $(PREFIX)/bin
1.321 kristaps 44: INCLUDEDIR = $(PREFIX)/include/mandoc
45: LIBDIR = $(PREFIX)/lib/mandoc
1.319 kristaps 46: MANDIR = $(PREFIX)/man
47: EXAMPLEDIR = $(PREFIX)/share/examples/mandoc
48: INSTALL = install
49: INSTALL_PROGRAM = $(INSTALL) -m 0755
50: INSTALL_DATA = $(INSTALL) -m 0444
51: INSTALL_LIB = $(INSTALL) -m 0644
1.353 kristaps 52: INSTALL_SOURCE = $(INSTALL) -m 0644
1.319 kristaps 53: INSTALL_MAN = $(INSTALL_DATA)
54:
1.375 kristaps 55: # Non-BSD systems (Linux, etc.) need -ldb to compile mandocdb and
56: # apropos.
57: # However, if you don't have -ldb at all (or it's not native), then
58: # comment out apropos and mandocdb.
59: #
1.358 kristaps 60: #DBLIB = -ldb
1.383 kristaps 61: DBBIN = apropos mandocdb man.cgi catman whatis
62: DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman.cgi.ln llib-lcatman.ln
1.358 kristaps 63:
1.375 kristaps 64: all: mandoc preconv demandoc $(DBBIN)
1.319 kristaps 65:
66: SRCS = Makefile \
1.389 kristaps 67: TODO \
1.372 kristaps 68: apropos.1 \
69: apropos.c \
1.389 kristaps 70: apropos_db.c \
71: apropos_db.h \
1.319 kristaps 72: arch.c \
73: arch.in \
74: att.c \
75: att.in \
1.389 kristaps 76: catman.8 \
77: catman.c \
78: cgi.c \
1.319 kristaps 79: chars.c \
80: chars.in \
1.390 kristaps 81: compat_fgetln.c \
1.362 kristaps 82: compat_getsubopt.c \
83: compat_strlcat.c \
84: compat_strlcpy.c \
1.319 kristaps 85: config.h.post \
86: config.h.pre \
1.389 kristaps 87: demandoc.1 \
1.369 kristaps 88: demandoc.c \
1.319 kristaps 89: eqn.7 \
90: eqn.c \
1.360 kristaps 91: eqn_html.c \
1.359 kristaps 92: eqn_term.c \
1.319 kristaps 93: example.style.css \
94: external.png \
95: html.c \
96: html.h \
97: index.css \
98: index.sgml \
99: lib.c \
100: lib.in \
101: libman.h \
102: libmandoc.h \
103: libmdoc.h \
104: libroff.h \
105: main.c \
106: main.h \
107: man.7 \
108: man.c \
1.382 kristaps 109: man.cgi.7 \
1.391 kristaps 110: man-cgi.css \
1.389 kristaps 111: man.h \
1.319 kristaps 112: man_hash.c \
113: man_html.c \
114: man_macro.c \
115: man_term.c \
116: man_validate.c \
117: mandoc.1 \
118: mandoc.3 \
119: mandoc.c \
120: mandoc.h \
1.389 kristaps 121: mandoc_char.7 \
1.356 schwarze 122: mandocdb.8 \
1.355 kristaps 123: mandocdb.c \
1.378 schwarze 124: mandocdb.h \
1.380 kristaps 125: manpath.c \
126: manpath.h \
1.319 kristaps 127: mdoc.7 \
128: mdoc.c \
1.389 kristaps 129: mdoc.h \
1.319 kristaps 130: mdoc_argv.c \
131: mdoc_hash.c \
132: mdoc_html.c \
133: mdoc_macro.c \
1.371 schwarze 134: mdoc_man.c \
1.319 kristaps 135: mdoc_term.c \
136: mdoc_validate.c \
137: msec.c \
138: msec.in \
139: out.c \
140: out.h \
1.344 kristaps 141: preconv.1 \
142: preconv.c \
1.342 kristaps 143: predefs.in \
1.319 kristaps 144: read.c \
145: roff.7 \
146: roff.c \
147: st.c \
148: st.in \
149: style.css \
150: tbl.7 \
151: tbl.c \
152: tbl_data.c \
153: tbl_html.c \
154: tbl_layout.c \
155: tbl_opts.c \
156: tbl_term.c \
157: term.c \
158: term.h \
159: term_ascii.c \
160: term_ps.c \
1.390 kristaps 161: test-fgetln.c \
1.365 kristaps 162: test-getsubopt.c \
1.347 kristaps 163: test-mmap.c \
1.319 kristaps 164: test-strlcat.c \
165: test-strlcpy.c \
1.365 kristaps 166: test-strptime.c \
1.319 kristaps 167: tree.c \
168: vol.c \
1.389 kristaps 169: vol.in \
170: whatis.1
1.319 kristaps 171:
172: LIBMAN_OBJS = man.o \
173: man_hash.o \
174: man_macro.o \
175: man_validate.o
1.325 kristaps 176:
1.319 kristaps 177: LIBMDOC_OBJS = arch.o \
178: att.o \
179: lib.o \
180: mdoc.o \
181: mdoc_argv.o \
182: mdoc_hash.o \
183: mdoc_macro.o \
184: mdoc_validate.o \
185: st.o \
186: vol.o
1.325 kristaps 187:
1.319 kristaps 188: LIBROFF_OBJS = eqn.o \
189: roff.o \
190: tbl.o \
191: tbl_data.o \
192: tbl_layout.o \
193: tbl_opts.o
1.325 kristaps 194:
1.319 kristaps 195: LIBMANDOC_OBJS = $(LIBMAN_OBJS) \
196: $(LIBMDOC_OBJS) \
197: $(LIBROFF_OBJS) \
1.333 kristaps 198: chars.o \
1.319 kristaps 199: mandoc.o \
1.385 schwarze 200: msec.o \
1.319 kristaps 201: read.o
1.325 kristaps 202:
1.390 kristaps 203: COMPAT_OBJS = compat_fgetln.o \
204: compat_getsubopt.o \
1.362 kristaps 205: compat_strlcat.o \
206: compat_strlcpy.o
1.319 kristaps 207:
1.395.2.1! schwarze 208: arch.o: arch.in
! 209: att.o: att.in
! 210: chars.o: chars.in
! 211: lib.o: lib.in
! 212: msec.o: msec.in
! 213: roff.o: predefs.in
! 214: st.o: st.in
! 215: vol.o: vol.in
! 216:
! 217: $(LIBMAN_OBJS): libman.h
! 218: $(LIBMDOC_OBJS): libmdoc.h
! 219: $(LIBROFF_OBJS): libroff.h
! 220: $(LIBMANDOC_OBJS): mandoc.h mdoc.h man.h libmandoc.h config.h
! 221: $(COMPAT_OBJS): config.h
1.362 kristaps 222:
1.360 kristaps 223: MANDOC_HTML_OBJS = eqn_html.o \
224: html.o \
1.319 kristaps 225: man_html.o \
226: mdoc_html.o \
227: tbl_html.o
1.395.2.1! schwarze 228: $(MANDOC_HTML_OBJS): html.h
1.325 kristaps 229:
1.371 schwarze 230: MANDOC_MAN_OBJS = mdoc_man.o
231:
1.359 kristaps 232: MANDOC_TERM_OBJS = eqn_term.o \
233: man_term.o \
1.319 kristaps 234: mdoc_term.o \
235: term.o \
236: term_ascii.o \
237: term_ps.o \
238: tbl_term.o
1.395.2.1! schwarze 239: $(MANDOC_TERM_OBJS): term.h
1.325 kristaps 240:
1.319 kristaps 241: MANDOC_OBJS = $(MANDOC_HTML_OBJS) \
1.371 schwarze 242: $(MANDOC_MAN_OBJS) \
1.319 kristaps 243: $(MANDOC_TERM_OBJS) \
244: main.o \
245: out.o \
246: tree.o
1.395.2.1! schwarze 247: $(MANDOC_OBJS): main.h mandoc.h mdoc.h man.h config.h out.h
1.319 kristaps 248:
1.380 kristaps 249: MANDOCDB_OBJS = mandocdb.o manpath.o
1.395.2.1! schwarze 250: $(MANDOCDB_OBJS): mandocdb.h mandoc.h mdoc.h man.h config.h manpath.h
1.326 kristaps 251:
1.343 kristaps 252: PRECONV_OBJS = preconv.o
1.395.2.1! schwarze 253: $(PRECONV_OBJS): config.h
1.343 kristaps 254:
1.380 kristaps 255: APROPOS_OBJS = apropos.o apropos_db.o manpath.o
1.395.2.1! schwarze 256: $(APROPOS_OBJS): config.h mandoc.h apropos_db.h manpath.h mandocdb.h
1.376 kristaps 257:
1.383 kristaps 258: CGI_OBJS = $(MANDOC_HTML_OBJS) \
259: $(MANDOC_MAN_OBJS) \
260: $(MANDOC_TERM_OBJS) \
261: cgi.o \
262: apropos_db.o \
263: manpath.o \
264: out.o \
265: tree.o
1.395.2.1! schwarze 266: $(CGI_OBJS): main.h mdoc.h man.h out.h config.h mandoc.h apropos_db.h manpath.h mandocdb.h
1.381 kristaps 267:
1.383 kristaps 268: CATMAN_OBJS = catman.o manpath.o
1.395.2.1! schwarze 269: $(CATMAN_OBJS): config.h mandoc.h manpath.h mandocdb.h
1.381 kristaps 270:
1.369 kristaps 271: DEMANDOC_OBJS = demandoc.o
1.395.2.1! schwarze 272: $(DEMANDOC_OBJS): config.h
1.369 kristaps 273:
1.372 kristaps 274: INDEX_MANS = apropos.1.html \
275: apropos.1.xhtml \
276: apropos.1.ps \
277: apropos.1.pdf \
278: apropos.1.txt \
1.390 kristaps 279: catman.8.html \
280: catman.8.xhtml \
281: catman.8.ps \
282: catman.8.pdf \
283: catman.8.txt \
1.372 kristaps 284: demandoc.1.html \
1.369 kristaps 285: demandoc.1.xhtml \
286: demandoc.1.ps \
287: demandoc.1.pdf \
288: demandoc.1.txt \
289: mandoc.1.html \
1.319 kristaps 290: mandoc.1.xhtml \
291: mandoc.1.ps \
292: mandoc.1.pdf \
293: mandoc.1.txt \
1.389 kristaps 294: whatis.1.html \
295: whatis.1.xhtml \
296: whatis.1.ps \
297: whatis.1.pdf \
298: whatis.1.txt \
1.319 kristaps 299: mandoc.3.html \
300: mandoc.3.xhtml \
301: mandoc.3.ps \
302: mandoc.3.pdf \
303: mandoc.3.txt \
304: eqn.7.html \
305: eqn.7.xhtml \
306: eqn.7.ps \
307: eqn.7.pdf \
308: eqn.7.txt \
309: man.7.html \
310: man.7.xhtml \
311: man.7.ps \
312: man.7.pdf \
313: man.7.txt \
1.390 kristaps 314: man.cgi.7.html \
315: man.cgi.7.xhtml \
316: man.cgi.7.ps \
317: man.cgi.7.pdf \
318: man.cgi.7.txt \
1.319 kristaps 319: mandoc_char.7.html \
320: mandoc_char.7.xhtml \
321: mandoc_char.7.ps \
322: mandoc_char.7.pdf \
323: mandoc_char.7.txt \
324: mdoc.7.html \
325: mdoc.7.xhtml \
326: mdoc.7.ps \
327: mdoc.7.pdf \
328: mdoc.7.txt \
1.344 kristaps 329: preconv.1.html \
330: preconv.1.xhtml \
331: preconv.1.ps \
332: preconv.1.pdf \
333: preconv.1.txt \
1.319 kristaps 334: roff.7.html \
335: roff.7.xhtml \
336: roff.7.ps \
337: roff.7.pdf \
338: roff.7.txt \
339: tbl.7.html \
340: tbl.7.xhtml \
341: tbl.7.ps \
342: tbl.7.pdf \
1.356 schwarze 343: tbl.7.txt \
344: mandocdb.8.html \
345: mandocdb.8.xhtml \
346: mandocdb.8.ps \
347: mandocdb.8.pdf \
348: mandocdb.8.txt
1.319 kristaps 349:
350: $(INDEX_MANS): mandoc
351:
352: INDEX_OBJS = $(INDEX_MANS) \
353: man.h.html \
354: mandoc.h.html \
355: mdoc.h.html \
356: mdocml.tar.gz \
357: mdocml.md5
1.132 kristaps 358:
1.319 kristaps 359: www: index.html
1.42 kristaps 360:
1.1 kristaps 361: clean:
1.319 kristaps 362: rm -f libmandoc.a $(LIBMANDOC_OBJS)
1.355 kristaps 363: rm -f mandocdb $(MANDOCDB_OBJS)
1.343 kristaps 364: rm -f preconv $(PRECONV_OBJS)
1.389 kristaps 365: rm -f apropos whatis $(APROPOS_OBJS)
1.376 kristaps 366: rm -f man.cgi $(CGI_OBJS)
1.383 kristaps 367: rm -f catman $(CATMAN_OBJS)
1.369 kristaps 368: rm -f demandoc $(DEMANDOC_OBJS)
1.319 kristaps 369: rm -f mandoc $(MANDOC_OBJS)
1.395.2.1! schwarze 370: rm -f config.h config.log $(COMPAT_OBJS)
! 371: rm -f mdocml.tar.gz
1.319 kristaps 372: rm -f index.html $(INDEX_OBJS)
1.395.2.1! schwarze 373: rm -rf *.dSYM
1.290 kristaps 374:
1.319 kristaps 375: install: all
1.270 joerg 376: mkdir -p $(DESTDIR)$(BINDIR)
377: mkdir -p $(DESTDIR)$(EXAMPLEDIR)
1.332 kristaps 378: mkdir -p $(DESTDIR)$(LIBDIR)
1.334 kristaps 379: mkdir -p $(DESTDIR)$(INCLUDEDIR)
1.270 joerg 380: mkdir -p $(DESTDIR)$(MANDIR)/man1
1.319 kristaps 381: mkdir -p $(DESTDIR)$(MANDIR)/man3
1.270 joerg 382: mkdir -p $(DESTDIR)$(MANDIR)/man7
1.369 kristaps 383: $(INSTALL_PROGRAM) mandoc preconv demandoc $(DESTDIR)$(BINDIR)
1.324 kristaps 384: $(INSTALL_LIB) libmandoc.a $(DESTDIR)$(LIBDIR)
1.352 kristaps 385: $(INSTALL_LIB) man.h mdoc.h mandoc.h $(DESTDIR)$(INCLUDEDIR)
1.369 kristaps 386: $(INSTALL_MAN) mandoc.1 preconv.1 demandoc.1 $(DESTDIR)$(MANDIR)/man1
1.319 kristaps 387: $(INSTALL_MAN) mandoc.3 $(DESTDIR)$(MANDIR)/man3
1.311 kristaps 388: $(INSTALL_MAN) man.7 mdoc.7 roff.7 eqn.7 tbl.7 mandoc_char.7 $(DESTDIR)$(MANDIR)/man7
1.270 joerg 389: $(INSTALL_DATA) example.style.css $(DESTDIR)$(EXAMPLEDIR)
1.387 kristaps 390:
391: installcgi: all
392: mkdir -p $(DESTDIR)$(CGIBINDIR)
393: mkdir -p $(DESTDIR)$(HTDOCDIR)
394: $(INSTALL_PROGRAM) man.cgi $(DESTDIR)$(CGIBINDIR)
395: $(INSTALL_DATA) example.style.css $(DESTDIR)$(HTDOCDIR)/man.css
1.391 kristaps 396: $(INSTALL_DATA) man-cgi.css $(DESTDIR)$(HTDOCDIR)
1.60 kristaps 397:
1.319 kristaps 398: installwww: www
399: mkdir -p $(PREFIX)/snapshots
1.363 kristaps 400: mkdir -p $(PREFIX)/binaries
1.320 kristaps 401: $(INSTALL_DATA) index.html external.png index.css $(PREFIX)
402: $(INSTALL_DATA) $(INDEX_MANS) style.css $(PREFIX)
1.319 kristaps 403: $(INSTALL_DATA) mandoc.h.html man.h.html mdoc.h.html $(PREFIX)
404: $(INSTALL_DATA) mdocml.tar.gz $(PREFIX)/snapshots
405: $(INSTALL_DATA) mdocml.md5 $(PREFIX)/snapshots
406: $(INSTALL_DATA) mdocml.tar.gz $(PREFIX)/snapshots/mdocml-$(VERSION).tar.gz
407: $(INSTALL_DATA) mdocml.md5 $(PREFIX)/snapshots/mdocml-$(VERSION).md5
408:
1.362 kristaps 409: libmandoc.a: $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
410: $(AR) rs $@ $(COMPAT_OBJS) $(LIBMANDOC_OBJS)
1.319 kristaps 411:
412: mandoc: $(MANDOC_OBJS) libmandoc.a
1.368 kristaps 413: $(CC) $(LDFLAGS) -o $@ $(MANDOC_OBJS) libmandoc.a
1.325 kristaps 414:
1.355 kristaps 415: mandocdb: $(MANDOCDB_OBJS) libmandoc.a
1.368 kristaps 416: $(CC) $(LDFLAGS) -o $@ $(MANDOCDB_OBJS) libmandoc.a $(DBLIB)
1.326 kristaps 417:
1.343 kristaps 418: preconv: $(PRECONV_OBJS)
1.368 kristaps 419: $(CC) $(LDFLAGS) -o $@ $(PRECONV_OBJS)
1.343 kristaps 420:
1.383 kristaps 421: whatis: apropos
422: cp -f apropos whatis
423:
1.372 kristaps 424: apropos: $(APROPOS_OBJS) libmandoc.a
1.373 kristaps 425: $(CC) $(LDFLAGS) -o $@ $(APROPOS_OBJS) libmandoc.a $(DBLIB)
1.372 kristaps 426:
1.383 kristaps 427: catman: $(CATMAN_OBJS) libmandoc.a
428: $(CC) $(LDFLAGS) -o $@ $(CATMAN_OBJS) libmandoc.a $(DBLIB)
1.381 kristaps 429:
1.376 kristaps 430: man.cgi: $(CGI_OBJS) libmandoc.a
1.383 kristaps 431: $(CC) $(LDFLAGS) $(STATIC) -o $@ $(CGI_OBJS) libmandoc.a $(DBLIB)
1.376 kristaps 432:
1.369 kristaps 433: demandoc: $(DEMANDOC_OBJS) libmandoc.a
434: $(CC) $(LDFLAGS) -o $@ $(DEMANDOC_OBJS) libmandoc.a
435:
1.319 kristaps 436: mdocml.md5: mdocml.tar.gz
437: md5 mdocml.tar.gz >$@
438:
439: mdocml.tar.gz: $(SRCS)
440: mkdir -p .dist/mdocml-$(VERSION)/
1.353 kristaps 441: $(INSTALL_SOURCE) $(SRCS) .dist/mdocml-$(VERSION)
1.319 kristaps 442: ( cd .dist/ && tar zcf ../$@ ./ )
1.60 kristaps 443: rm -rf .dist/
1.362 kristaps 444:
1.319 kristaps 445: index.html: $(INDEX_OBJS)
1.148 kristaps 446:
1.319 kristaps 447: config.h: config.h.pre config.h.post
448: rm -f config.log
449: ( cat config.h.pre; \
450: echo; \
1.390 kristaps 451: if $(CC) $(CFLAGS) -Werror -o test-fgetln test-fgetln.c >> config.log 2>&1; then \
452: echo '#define HAVE_FGETLN'; \
453: rm test-fgetln; \
454: fi; \
1.362 kristaps 455: if $(CC) $(CFLAGS) -Werror -o test-strptime test-strptime.c >> config.log 2>&1; then \
456: echo '#define HAVE_STRPTIME'; \
457: rm test-strptime; \
458: fi; \
459: if $(CC) $(CFLAGS) -Werror -o test-getsubopt test-getsubopt.c >> config.log 2>&1; then \
460: echo '#define HAVE_GETSUBOPT'; \
461: rm test-getsubopt; \
462: fi; \
1.319 kristaps 463: if $(CC) $(CFLAGS) -Werror -o test-strlcat test-strlcat.c >> config.log 2>&1; then \
464: echo '#define HAVE_STRLCAT'; \
465: rm test-strlcat; \
1.347 kristaps 466: fi; \
467: if $(CC) $(CFLAGS) -Werror -o test-mmap test-mmap.c >> config.log 2>&1; then \
468: echo '#define HAVE_MMAP'; \
469: rm test-mmap; \
1.319 kristaps 470: fi; \
471: if $(CC) $(CFLAGS) -Werror -o test-strlcpy test-strlcpy.c >> config.log 2>&1; then \
472: echo '#define HAVE_STRLCPY'; \
473: rm test-strlcpy; \
474: fi; \
475: echo; \
476: cat config.h.post \
477: ) > $@
1.60 kristaps 478:
1.319 kristaps 479: .h.h.html:
480: highlight -I $< >$@
1.168 kristaps 481:
1.356 schwarze 482: .1.1.txt .3.3.txt .7.7.txt .8.8.txt:
1.319 kristaps 483: ./mandoc -Tascii -Wall,stop $< | col -b >$@
1.168 kristaps 484:
1.356 schwarze 485: .1.1.html .3.3.html .7.7.html .8.8.html:
1.319 kristaps 486: ./mandoc -Thtml -Wall,stop -Ostyle=style.css,man=%N.%S.html,includes=%I.html $< >$@
1.277 kristaps 487:
1.356 schwarze 488: .1.1.ps .3.3.ps .7.7.ps .8.8.ps:
1.319 kristaps 489: ./mandoc -Tps -Wall,stop $< >$@
1.297 kristaps 490:
1.356 schwarze 491: .1.1.xhtml .3.3.xhtml .7.7.xhtml .8.8.xhtml:
1.319 kristaps 492: ./mandoc -Txhtml -Wall,stop -Ostyle=style.css,man=%N.%S.xhtml,includes=%I.html $< >$@
1.290 kristaps 493:
1.356 schwarze 494: .1.1.pdf .3.3.pdf .7.7.pdf .8.8.pdf:
1.319 kristaps 495: ./mandoc -Tpdf -Wall,stop $< >$@
1.212 kristaps 496:
1.319 kristaps 497: .sgml.html:
498: validate --warn $<
499: sed -e "s!@VERSION@!$(VERSION)!" -e "s!@VDATE@!$(VDATE)!" $< >$@
CVSweb