-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (32 loc) · 864 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# pir-medl.git/Makefile
# File ID: 8eaa0266-38c4-11e7-8a1b-f74d993421b0
.PHONY: default
default: README.html
cd src && $(MAKE)
README.html: README.md
printf '<html>\n<head>\n' >README.html
printf '<meta http-equiv="Content-Type" ' >>README.html
printf 'content="text/html; charset=UTF-8" />\n' >>README.html
printf '<title>pir-medl/README</title>\n' >>README.html
printf '</head>\n<body>\n' >>README.html
cmark -t html README.md >>README.html
printf '</body>\n</html>\n' >>README.html
.PHONY: clean
clean:
rm -f README.html
cd src && $(MAKE) clean
cd t && $(MAKE) clean
.PHONY: edit
edit:
$(EDITOR) $$(git ls-files | grep -v -e ^COPYING -e ^src/sqlite3)
.PHONY: test
test:
cd src && $(MAKE) test
cd t && $(MAKE) test
.PHONY: valgrind
valgrind:
cd src && $(MAKE) valgrind
cd t && $(MAKE) test
.PHONY: view
view: README.html
lynx README.html