File: Makefile

package info (click to toggle)
freetable 2.3-4.3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 136 kB
  • sloc: perl: 239; makefile: 54
file content (24 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
OBJ=en.1 fr.1 pl.1
TESTS=testsuite/test01.html testsuite/test02.html testsuite/test03.html testsuite/test04.html \
    testsuite/test05.html testsuite/test06.html testsuite/test07.html testsuite/test08.html \
    testsuite/test09.html testsuite/test10.html

%.1: %.pod
	ln -sf $< freetable.pod && pod2man --center='Freetable' --utf8 freetable.pod >$@
	rm -f freetable.pod

all: $(OBJ)

clean:
	rm -f $(OBJ) $(TESTS)

tests: $(TESTS)

testsuite/%.html: testsuite/%.in ./freetable
	./freetable <$< >$@
testsuite/test07.html: testsuite/test07.in ./freetable
	./freetable -l -m <$< >$@
testsuite/test08.html: testsuite/test08.in ./freetable
	./freetable -l -m <$< >$@
testsuite/test10.html: testsuite/test10.in ./freetable
	./freetable -l <$< >$@