From 81b4ebbde71787deedf113986896880d75b8b71f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 24 Dec 2020 20:21:02 +0000 Subject: build: publish_doc: remove created.rid and index.html from site created.rid has no business being published anyways, and index.html is redundant given README.html. Avoid confusing search engines with identical documents at different URLs. Our "homepage" is just a directory listing, now, which should help discoverability of non-HTML docs. Old content is at https://yhbt.net/unicorn/README.html --- GNUmakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index d80e608..dd0a761 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -245,7 +245,8 @@ publish_doc: $(MAKE) doc $(MAKE) doc_gz chmod 644 $$(find doc -type f) - $(RSYNC) -av doc/ yhbt.net:/srv/yhbt/unicorn/ + $(RSYNC) -av doc/ yhbt.net:/srv/yhbt/unicorn/ \ + --exclude index.html* --exclude created.rid* git ls-files | xargs touch # Create gzip variants of the same timestamp as the original so nginx -- cgit v1.2.3-24-ge0c7