doc/: Add Makefile.am for building and installing the manual page(s).
[routeros-api.git] / doc / Makefile.am
1 man_PODS = librouteros.pod
2 man_MANS = librouteros.3
3
4 EXTRA_DIST = $(man_MANS) $(man_PODS)
5
6 .pod.1:
7         pod2man --section=1 --release=$(VERSION) --center=$(PACKAGE) $< >$@
8
9 .pod.3:
10         pod2man --section=3 --release=$(VERSION) --center=$(PACKAGE) $< >$@
11
12 .pod.8:
13         pod2man --section=8 --release=$(VERSION) --center=$(PACKAGE) $< >$@