File: Makefile

package info (click to toggle)
tran 2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 140 kB
  • ctags: 7
  • sloc: perl: 187; makefile: 17
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