@@ -9,41 +9,24 @@ SELINUX_OPT := $(shell [ $(DOCKER_SELINUX_LABEL) -eq 1 ] && echo "$(COL
9
9
LANG_POD6_SOURCE := $(wildcard doc/Language/* .pod6)
10
10
# Managing of the language index page
11
11
USE_CATEGORIES := True
12
- # Value of disambiguation flag in htmlify
13
- DISAMBIGUATE := True
14
12
15
13
.PHONY : html init-highlights html-nohighlight sparse assets webdev-build \
16
14
bigpage test xtest ctest help run clean-html clean-images \
17
15
clean-search clean test-links push \
18
16
gen-pod6-source clean-build \
19
- docker-image docker-htmlify docker- test docker-xtest docker-ctest docker-testall docker-run
17
+ docker-image docker-test docker-xtest docker-ctest docker-testall docker-run
20
18
21
- html : gen-pod6-source bigpage htmlify
22
-
23
- htmlify : gen-pod6-source init-highlights assets
24
- perl6 htmlify.p6 --manage=$(USE_CATEGORIES ) --disambiguation=$(DISAMBIGUATE )
25
-
26
- gen-pod6-source : $(LANG_POD6_SOURCE ) doc/Language/00-POD6-CONTROL
27
- perl6 util/manage-page-order.p6 update --manage=$(USE_CATEGORIES )
19
+ html : gen-pod6-source bigpage
28
20
29
21
init-highlights :
30
22
ATOMDIR=" ./highlights/atom-language-perl6" ; \
31
23
if [ -d " $$ ATOMDIR" ]; then (cd " $$ ATOMDIR" && git pull); \
32
24
else git clone https://github.com/perl6/atom-language-perl6 " $$ ATOMDIR" ; \
33
25
fi ; cd highlights; npm install . ; npm rebuild
34
26
35
- html-nohighlight : gen-pod6-source
36
- perl6 htmlify.p6 --no-highlight --disambiguation=$(DISAMBIGUATE )
37
-
38
- sparse :
39
- perl6 htmlify.p6 --no-highlight --sparse=10 --disambiguation=$(DISAMBIGUATE )
40
-
41
27
assets :
42
28
./app.pl assets
43
29
44
- webdev-build :
45
- perl6 htmlify.p6 --no-highlight --sparse=200 --disambiguation=$(DISAMBIGUATE )
46
-
47
30
bigpage : gen-pod6-source
48
31
pod2onepage --html -v --source-path=./build --exclude=404.pod6 > html/perl6.html
49
32
78
61
@echo " ctest: run the test suite, content tests only"
79
62
@echo " run: run the development webserver"
80
63
@echo " docker-image: build Docker image from Dockerfile"
81
- @echo " docker-htmlify: generate the HTML documentation (in container) "
64
+
82
65
@echo "docker-test: run the test suite (in container)"
83
66
@echo "docker-xtest: run the test suite, including extra tests (in container)"
84
67
@echo "docker-ctest: run the test suite, content tests only (in container)"
94
77
docker-image :
95
78
docker build -t $(DOCKER_IMAGE_NAME ) .
96
79
97
- docker-htmlify : docker-image docker-test
98
- docker run --rm -it -v $(REPO_PATH ) :/perl6/doc/$(SELINUX_OPT ) $(DOCKER_IMAGE_NAME ) \
99
- /bin/bash -c ' make html'
100
-
101
80
docker-test : docker-image
102
81
docker run --rm -it -v $(REPO_PATH ) :/perl6/doc/$(SELINUX_OPT ) $(DOCKER_IMAGE_NAME ) \
103
82
/bin/bash -c ' make test'
0 commit comments