Skip to content

Commit 17f25f8

Browse files
mendelJJ
authored andcommitted
restore epub and bigpage make targets
1 parent 9a87be8 commit 17f25f8

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

META6.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"auth": "perl6",
1010
"depends": [
1111
"File::Temp",
12-
"Pod::To::BigPage:ver<0.5.1+>",
12+
"Pod::To::BigPage:ver<0.5.2+>",
1313
"Pod::To::HTML:ver<0.6.1+>",
1414
"Test::META",
1515
"Perl6::TypeGraph"

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ else
99
SELINUX_OPT :=
1010
endif
1111

12-
.PHONY: html init-highlights assets \
12+
.PHONY: html init-highlights assets bigpage epub \
1313
test xtest ctest help run clean-html clean-images \
1414
clean-search clean test-links push \
1515
clean-cache \
1616
docker-image docker-test docker-xtest docker-ctest docker-testall docker-run
1717

1818
help:
19-
@echo "Usage: make [html|test|xtest|ctest]"
19+
@echo "Usage: make [html|epub|bigpage|test|xtest|ctest]"
2020
@echo ""
2121
@echo "Options:"
2222
@echo " html: generate the HTML documentation"
23+
@echo " epub: generate EPUB documentation (html/raku.epub)"
24+
@echo "bigpage: generate HTML documentation in one large file (html/raku.html)"
2325
@echo " assets: generate CSS/JS assets"
2426
@echo "init-highlights: install prereqs for highlights (runs as part of 'make html')"
2527
@echo " test: run the test suite"
@@ -51,6 +53,12 @@ assets assets/assetpack.db:
5153

5254
for-documentable: highlights/package-lock.json assets/assetpack.db
5355

56+
bigpage:
57+
pod2onepage --html -v --source-path=./doc --exclude=404.pod6 > html/raku.html
58+
59+
epub: bigpage
60+
pandoc html/raku.html -o raku.epub
61+
5462
# Common tests that are run by travis with every commit
5563
test:
5664
if [ "${TEST_JOBS}" != "" ]; then prove -j ${TEST_JOBS} -e raku t; else prove -e raku t; fi

0 commit comments

Comments
 (0)