Page MenuHomeFreeBSD

D30161.id88800.diff
No OneTemporary

D30161.id88800.diff

diff --git a/documentation/Makefile b/documentation/Makefile
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -29,12 +29,31 @@
.ORDER: all run
+.ORDER: requirements
.ORDER: starting-message generate-books-toc
.ORDER: starting-message build
.ORDER: generate-books-toc build
-all: starting-message generate-books-toc build
-run: starting-message generate-books-toc run-local
+all: requirements starting-message generate-books-toc build
+run: requirements starting-message generate-books-toc run-local
+
+requirements:
+ @if ! [ -f ${PYTHON_CMD} ]; then \
+ echo python3 not found, please run 'pkg install python3'; \
+ exit 1; \
+ fi;
+ @if ! [ -f ${HUGO_CMD} ]; then \
+ echo hugo not found, please run 'pkg install gohugo'; \
+ exit 1; \
+ fi;
+ @if ! [ -f /usr/local/bin/asciidoctor ]; then \
+ echo asciidoctor not found, please run 'pkg install rubygem-asciidoctor'; \
+ exit 1; \
+ fi;
+ @if ! [ -f /usr/local/bin/rougify ]; then \
+ echo rougify not found, please run 'pkg install rubygem-rouge'; \
+ exit 1; \
+ fi;
starting-message: .PHONY
@echo ---------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 23, 6:05 PM (1 h, 17 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30197679
Default Alt Text
D30161.id88800.diff (1 KB)

Event Timeline