File: Makefile

package info (click to toggle)
tran 5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 164 kB
  • sloc: perl: 187; makefile: 17; sh: 12
file content (17 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all:	scripts tran.1

SRC = $(filter-out $(wildcard gen/*~) $(wildcard gen/.*),$(wildcard gen/*))
GEN = $(SRC:gen/%=data/%)

scripts:	${GEN}

data/%:	gen/%
	$< >$@

tran.1:	tran.pod
	pod2man -c tran -s 1 -n tran $< >$@

clean:
	rm -rf ${GEN} tran.1

.PHONY:	all scripts clean