Page MenuHomeFreeBSD

D30161.id89040.diff
No OneTemporary

D30161.id89040.diff

diff --git a/documentation/Makefile b/documentation/Makefile
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -29,12 +29,20 @@
.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:
+.for dep in ${PYTHON_CMD} ${HUGO_CMD} /usr/local/bin/asciidoctor /usr/local/bin/rougify
+.if !exists(${dep})
+ @(echo ${dep} not found, please run 'pkg install docproj'; exit 1;)
+.endif
+.endfor
starting-message: .PHONY
@echo ---------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 9:53 PM (18 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16039632
Default Alt Text
D30161.id89040.diff (836 B)

Event Timeline