-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (26 loc) · 830 Bytes
/
Makefile
File metadata and controls
35 lines (26 loc) · 830 Bytes
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
DocProj=css-raku.github.io
DocRepo=https://github.com/css-raku/$(DocProj)
DocLinker=../$(DocProj)/etc/resolve-links.raku
all : doc
test : all
@prove -e"raku -I ." t
loudtest : all
@prove -e"raku -I ." -v t
$(DocLinker) :
(cd .. && git clone $(DocRepo) $(DocProj))
Pod-To-Markdown-installed :
@raku -M Pod::To::Markdown -c
doc : $(DocLinker) Pod-To-Markdown-installed docs/index.md
docs/index.md : lib/CSS.rakumod
@raku -I . -c $<
(\
echo '[](https://travis-ci.org/css-raku/CSS-raku)'; \
echo '';\
perl6 -I . --doc=Markdown $< \
| TRAIL=CSS raku -p -n $(DocLinker) \
) > $@
docs/%.md : lib/%.rakumod
@raku -I . -c $<
raku -I . --doc=Markdown $< \
| TRAIL=$* raku -p -n $(DocLinker) \
> $@