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