diff --git a/website/Makefile b/website/Makefile --- a/website/Makefile +++ b/website/Makefile @@ -48,6 +48,10 @@ LANGUAGES= ${ALL_LANGUAGES} .endif +.ifdef WITHOUT_OLD_RELNOTES +HUGO_ARGS+= --config hugo.toml,quick.toml +.endif + # Take the list of all languages, and take out the ones we have been # asked for via DOC_LANG. We'll feed this to hugo. SKIP_LANGS= @@ -105,7 +109,9 @@ .endif cgi-permissions: +.if exists(./public/cgi) @chmod 555 ./public/cgi/*.cgi +.endif hugo-clean: rm -fr public resources diff --git a/website/quick.toml b/website/quick.toml new file mode 100644 --- /dev/null +++ b/website/quick.toml @@ -0,0 +1,5 @@ +[module] + [[module.mounts]] + files = [ "!","en/releases/!(calendar.ics|feed.xml|index.html|14.3R|15.0R|14.4R|15.1R|14.5R)/**" ] + source = "content" + target = "content"