aboutsummaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2021-05-16 20:41:00 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2021-05-16 20:41:00 +0000
commit5a9f8ba84024192b35746faa2a665f2e79571ed0 (patch)
tree79bbcf08eb7265d617f84576072a224e32f636e3 /documentation/Makefile
parent3f63c740214b40d44e826da8c93ebbd1afac3b1e (diff)
downloaddoc-5a9f8ba84024192b35746faa2a665f2e79571ed0.tar.gz
doc-5a9f8ba84024192b35746faa2a665f2e79571ed0.zip
Add new tool to generate the pgpkeys.txt file
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index b9fa304050..72616084fa 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -18,6 +18,7 @@ MAINTAINER=carlavilla@FreeBSD.org
LOCALBASE?= /usr/local
PYTHON_CMD = ${LOCALBASE}/bin/python3
+RUBY_CMD = ${LOCALBASE}/bin/ruby
HUGO_CMD = ${LOCALBASE}/bin/hugo
LANGUAGES = en,es,pt-br,de,ja,zh-cn,zh-tw,ru,el,hu,it,mn,nl,pl,fr
RUBYLIB = ../shared/lib
@@ -41,8 +42,8 @@ RUN_DEPENDS= ${PYTHON_CMD} \
.ORDER: starting-message build
.ORDER: generate-books-toc build
-all: requirements starting-message generate-books-toc build
-run: requirements starting-message generate-books-toc run-local
+all: requirements starting-message generate-books-toc generate-pgpkeys-txt build
+run: requirements starting-message generate-books-toc generate-pgpkeys-txt run-local
requirements:
.for dep in ${RUN_DEPENDS}
@@ -63,6 +64,9 @@ generate-books-toc: .PHONY
${PYTHON_CMD} ./tools/books-toc-tables-creator.py -l ${LANGUAGES}
${PYTHON_CMD} ./tools/books-toc-examples-creator.py -l ${LANGUAGES}
+generate-pgpkeys-txt: .PHONY
+ ${RUBY_CMD} ./tools/global-pgpkeys-creator.rb
+
run-local: .PHONY
${HUGO_CMD} server -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313"