Debian Codegraph @

debian/manpages/makefile

raw
1
2 VERSION ?= 0.0
3 CENTER ?= ytnef-tools
4
5 PODS := $(wildcard *.pod)
6 MANPAGES := $(PODS:%.pod=%.1)
7
8 P2M := pod2man -s 1 -u -c $(CENTER) -r $(VERSION)
9
10 all: $(MANPAGES)
11
12 clean:
13 @rm -f $(MANPAGES)
14
15 %.1: %.pod
16 @$(P2M) $< > $@
17
18 .PHONY: all clean