diff --git a/documentation/Makefile b/documentation/Makefile index 60b89da0ed..a09a995c11 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -1,40 +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 +generate: starting-message generate-books-toc build .PHONY -starting-message: +starting-message: .PHONY @echo --------------------------------------------------------------- @echo Building the documentation @echo --------------------------------------------------------------- -generate-books-toc: +generate-books-toc: .PHONY ${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: +run: .PHONY ${HUGO_CMD} server -D -build: +build: .PHONY ${HUGO_CMD} --minify diff --git a/website/Makefile b/website/Makefile index 6e859536b9..85b00f6df8 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,35 +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 +generate: starting-message generate-releases build .PHONY -starting-message: +starting-message: .PHONY @echo --------------------------------------------------------------- @echo Building the website @echo --------------------------------------------------------------- -generate-releases: +generate-releases: .PHONY ${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc -run: +run: .PHONY ${HUGO_CMD} server -D -build: +build: .PHONY ${HUGO_CMD}