blob: 9f80dda7df8941eda13b91403e65dc0e864ae6fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
-include ../config.mak
RST2MAN ?= rst2man
manpages = pgbouncer.1 pgbouncer.5
dist_man_MANS = $(manpages)
EXTRA_DIST = config.rst usage.rst Makefile $(manpages) \
frag-config-man frag-usage-man
# make maintainer-clean removes those
MAINTAINERCLEANFILES = $(manpages)
SUBLOC = doc
abs_top_srcdir ?= $(CURDIR)/..
include $(abs_top_srcdir)/lib/mk/antimake.mk
pgbouncer.1: usage.rst frag-usage-man
$(SED) -e '4r frag-usage-man' usage.rst | $(RST2MAN) > $@
pgbouncer.5: config.rst frag-config-man
$(SED) -e '4r frag-config-man' config.rst | $(RST2MAN) > $@
web:
make -C ../../pgbouncer.github.io
|