File: makefile

package info (click to toggle)
libytnef 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,324 kB
  • sloc: ansic: 4,101; perl: 94; makefile: 70; sh: 31
file content (18 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

VERSION ?= 0.0
CENTER ?= ytnef-tools

PODS := $(wildcard *.pod)
MANPAGES := $(PODS:%.pod=%.1)

P2M := pod2man -s 1 -u -c $(CENTER) -r $(VERSION)

all: $(MANPAGES)

clean:
	@rm -f $(MANPAGES)

%.1: %.pod
	@$(P2M) $< > $@

.PHONY: all clean