File: Makefile.am

package info (click to toggle)
libmongoc 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,824 kB
  • ctags: 4,501
  • sloc: ansic: 57,956; makefile: 717; python: 502; sh: 54
file content (18 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
BUILT_MAN_FILES = $(patsubst doc/%.page,doc/man/%.3,$(wildcard doc/*.page))
CLEANFILES += $(wildcard doc/man/*.3)

dist_man_MANS = $(BUILT_MAN_FILES)
# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals.
# Unlike with other dist primaries, the files are not distributed if the
# conditional is false.
# Work the bug around until it is fixed:
dist_noinst_DATA = $(dist_man_MANS)

man3_MANS = $(BUILT_MAN_FILES)

%.3: ../%.page
	$(AM_V_GEN)./doc/mallard2man.py 3 $^

man: $(BUILT_MAN_FILES)
EXTRA_DIST += $(wildcard doc/man/*.3) \
              doc/mallard2man.py