Skip to content

Commit 6829b0b

Browse files
0-wiz-0Thomas Klausner
authored and
Thomas Klausner
committedJul 18, 2005
* Makefile.am: add targets to regenerate cg.man and cg.html.
1 parent 88e284c commit 6829b0b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎ChangeLog

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2005-07-19 Thomas Klausner <wiz@danbala.tuwien.ac.at>
2+
3+
* Makefile.am: add targets to regenerate cg.man and cg.html.
4+
15
2005-03-07 Thomas Klausner <wiz@danbala.tuwien.ac.at>
26

37
* snprintf.c (dopr): Fix compilation warnings on Interix.

‎Makefile.am

+8
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ testdec_SOURCES=testdec.c crc.c decode.c util.c mime.c tables.c header.c \
3030
noinst_HEADERS=checkgroup.h crc.h decode.h getopt.h globals.h header.h mime.h \
3131
newsrc.h output.h ranges.h sockets.h stream.h stream_types.h symbol.h \
3232
util.h
33+
34+
SUFFIXES=.man .mdoc .html
35+
.mdoc.man:
36+
mdoc2man $< > $@.$$$$ && diff -I NiH $@.$$$$ $@ || mv $@.$$$$ $@; \
37+
rm -f $@.$$$$
38+
39+
.mdoc.html:
40+
nroff -mdoc2html $< | sed -e "s,../html1/,," > $@.$$$$ && mv $@.$$$$ $@

0 commit comments

Comments
 (0)
Please sign in to comment.