-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.in
49 lines (35 loc) · 1.05 KB
/
Makefile.in
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
40
41
42
43
44
45
46
47
48
DocProj=pdf-raku.github.io
DocRepo=https://github.com/pdf-raku/$(DocProj)
DocLinker=../$(DocProj)/etc/resolve-links.raku
all :
cd src/pdf && %MAKE% all
debug :
cd src/pdf && %MAKE% clean debug
test-coverage :
export CC_COV_OPT="-fprofile-arcs -ftest-coverage";\
export LD_COV_OPT="-coverage -lgcov";\
%MAKE% clean test;\
cd src/pdf && %MAKE% coverage-reports
test : all
@prove6 -I. -j 8 t
loudtest : all
@prove6 -v -I. t
memtest : all
@prove6 -e'rakudo-valgrind-m -I.' -v t
clean :
cd src/pdf && %MAKE% $@
realclean :
@rm -f Makefile;\
cd src/pdf && %MAKE% $@
$(DocLinker) :
(cd .. && git clone $(DocRepo) $(DocProj))
docs/%.md : lib/%.rakumod
@raku -I . -c $<
raku -I . --doc=Markdown $< \
| TRAIL=$* raku -p -n $(DocLinker) \
> $@
Pod-To-Markdown-installed :
@raku -M Pod::To::Markdown -c
doc : $(DocLinker) Pod-To-Markdown-installed docs/index.md docs/PDF/Native.md docs/PDF/Native/Buf.md docs/PDF/Native/Filter/Predictors.md docs/PDF/Native/Reader.md docs/PDF/Native/Writer.md docs/PDF/Native/COS.md
docs/index.md : README.md
cp $< $@