summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-06-04 14:22:42 +0100
committerLars Wirzenius <liw@liw.fi>2012-06-04 14:22:42 +0100
commit66a2a6ace9fb99096c2a1d0144a7b12895db59e6 (patch)
treeafbed2128eac7120dc1511a6e80987df066931b4 /Makefile
parent2bc2887fefba2591bd6ede3a1eabbb6c26cf7a25 (diff)
downloadmoreutils-66a2a6ace9fb99096c2a1d0144a7b12895db59e6.tar.gz
Add errno manpage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 501701f..41c9c81 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
BINS=isutf8 ifdata ifne pee sponge mispipe lckdo parallel errno
PERLSCRIPTS=vidir vipe ts combine zrun chronic
-MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 chronic.1 mispipe.1 lckdo.1 parallel.1
+MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 chronic.1 mispipe.1 lckdo.1 parallel.1 errno.1
CFLAGS=-O2 -g -Wall
INSTALL_BIN?=install -s
PREFIX=/usr
@@ -52,6 +52,9 @@ errnos.h:
echo '#include <errno.h>' > dump.c
$(CC) -E -dD dump.c | ./errnos > errnos.h
rm -f dump.c
+
+errno.1: errno.docbook
+ $(DOCBOOK2XMAN) $<
%.1: %
pod2man --center=" " --release="moreutils" $< > $@;