diff --git a/documentation/Makefile b/documentation/Makefile index cdbed92057..60b89da0ed 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -1,36 +1,40 @@ # Generate the FreeBSD documentation # # Copyright (c) 2020-2021, The FreeBSD Documentation Project # Copyright (c) 2020-2021, Sergio Carlavilla # # Targets intended for use on the command line # # all (default) - generate the books TOC and compile all the documentation # generate - generate the books TOC and build all the documentation MAINTAINER=carlavilla@FreeBSD.org PYTHON_CMD = /usr/local/bin/python3.7 HUGO_CMD = /usr/local/bin/hugo LANGUAGES = en,es,pt-br,de,ja,zh-cn,zh-tw,ru,el,hu,it,mn,nl,pl,fr +.ORDER: starting-message generate-books-toc +.ORDER: starting-message build +.ORDER: generate-books-toc build + all: starting-message generate-books-toc run generate: starting-message generate-books-toc build starting-message: @echo --------------------------------------------------------------- @echo Building the documentation @echo --------------------------------------------------------------- generate-books-toc: ${PYTHON_CMD} ./tools/books-toc-parts-creator.py -l ${LANGUAGES} ${PYTHON_CMD} ./tools/books-toc-creator.py -l ${LANGUAGES} ${PYTHON_CMD} ./tools/books-toc-figures-creator.py -l ${LANGUAGES} ${PYTHON_CMD} ./tools/books-toc-tables-creator.py -l ${LANGUAGES} ${PYTHON_CMD} ./tools/books-toc-examples-creator.py -l ${LANGUAGES} run: ${HUGO_CMD} server -D build: ${HUGO_CMD} --minify diff --git a/website/Makefile b/website/Makefile index 96d0070c5a..6e859536b9 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,31 +1,35 @@ # Generate the FreeBSD website # # Copyright (c) 2020-2021, The FreeBSD Documentation Project # Copyright (c) 2020-2021, Sergio Carlavilla # # Targets intended for use on the command line # # all (default) - generate the releases.toml and compile all the website # generate - generate the releases.toml and build all the website MAINTAINER=carlavilla@FreeBSD.org PYTHON_CMD = /usr/local/bin/python3.7 HUGO_CMD = /usr/local/bin/hugo +.ORDER: starting-message generate-books-toc +.ORDER: starting-message build +.ORDER: generate-books-toc build + all: starting-message generate-releases run generate: starting-message generate-releases build starting-message: @echo --------------------------------------------------------------- @echo Building the website @echo --------------------------------------------------------------- generate-releases: ${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc run: ${HUGO_CMD} server -D build: ${HUGO_CMD}