Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140127614
D30652.id90466.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30652.id90466.diff
View Options
diff --git a/documentation/Makefile b/documentation/Makefile
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -21,6 +21,7 @@
PYTHON_CMD = ${LOCALBASE}/bin/python3
RUBY_CMD = ${LOCALBASE}/bin/ruby
HUGO_CMD = ${LOCALBASE}/bin/hugo
+HUGO_ARGS?= --verbose --minify
ASCIIDOCTORPDF_CMD= ${LOCALBASE}/bin/asciidoctor-pdf
.if defined(DOC_LANG) && !empty(DOC_LANG)
LANGUAGES = ${DOC_LANG}
@@ -78,10 +79,10 @@
${RUBY_CMD} ./tools/global-pgpkeys-creator.rb
run-local: .PHONY
- ${HUGO_CMD} server -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"
+ ${HUGO_CMD} server ${HUGO_ARGS} -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"
build: .PHONY
- ${HUGO_CMD} --minify
+ ${HUGO_CMD} ${HUGO_ARGS}
#
# PDF targets
diff --git a/website/Makefile b/website/Makefile
--- a/website/Makefile
+++ b/website/Makefile
@@ -17,6 +17,7 @@
PYTHON_CMD = /usr/local/bin/python3
HUGO_CMD = /usr/local/bin/hugo
+HUGO_ARGS?= --verbose
RUBYLIB = ../shared/lib
.export RUBYLIB
@@ -51,10 +52,10 @@
${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc
run-local: .PHONY
- ${HUGO_CMD} server -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"
+ ${HUGO_CMD} server ${HUGO_ARGS} -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"
build: .PHONY
- ${HUGO_CMD}
+ ${HUGO_CMD} ${HUGO_ARGS}
post-build: cgi-permissions
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 2:54 PM (9 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27109734
Default Alt Text
D30652.id90466.diff (1 KB)
Attached To
Mode
D30652: Add support to Hugo arguments/flags
Attached
Detach File
Event Timeline
Log In to Comment