git: ade023a359 - main - fix cgi permissions for the website
Wolfram Schneider <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=ade023a35909a87cfe9489eeb9b3bd3b096f3d93 commit ade023a35909a87cfe9489eeb9b3bd3b096f3d93 Author: Wolfram Schneider <[email protected]> AuthorDate: 2021-05-25 06:33:48 +0000 Commit: Wolfram Schneider <[email protected]> CommitDate: 2021-05-25 06:37:35 +0000 fix cgi permissions for the website PR: 256106 Approved by: se, philip, lwhsu Differential Revision: https://reviews.freebsd.org/D30406 --- website/Makefile | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/website/Makefile b/website/Makefile index cc4f66b22f..560c7b8d45 100644 --- a/website/Makefile +++ b/website/Makefile @@ -31,14 +31,21 @@ RUBYLIB = ../shared/lib .ORDER: starting-message generate-releases .ORDER: starting-message build .ORDER: generate-releases build +.ORDER: build post-build +.ORDER: post-build end-message -all: starting-message generate-releases build +all: starting-message generate-releases build post-build end-message run: starting-message generate-releases run-local starting-message: .PHONY - @echo --------------------------------------------------------------- - @echo Building the website - @echo --------------------------------------------------------------- + @echo "---------------------------------------------------------------" + @echo "Building the website started on $$(date)" + @echo "---------------------------------------------------------------" + +end-message: .PHONY + @echo "---------------------------------------------------------------" + @echo "Building the website completed on $$(date)" + @echo "---------------------------------------------------------------" generate-releases: .PHONY ${PYTHON_CMD} ./tools/releases-toml.py -p ./shared/releases.adoc @@ -48,3 +55,9 @@ run-local: .PHONY build: .PHONY ${HUGO_CMD} + +post-build: cgi-permissions + +cgi-permissions: + @chmod 555 ./public/cgi/*.cgi + _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all To unsubscribe, send any mail to "[email protected]"