File nginx-1.11.2-html.patch of Package nginx.14491
Index: nginx-1.16.1/auto/install
===================================================================
--- nginx-1.16.1.orig/auto/install 2019-08-13 14:51:43.000000000 +0200
+++ nginx-1.16.1/auto/install 2020-03-24 17:51:56.640467984 +0100
@@ -154,8 +154,7 @@ install: build $NGX_INSTALL_PERL_MODULES
test -d '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`' \\
|| mkdir -p '\$(DESTDIR)`dirname "$NGX_HTTP_LOG_PATH"`'
- test -d '\$(DESTDIR)$NGX_PREFIX/html' \\
- || cp -R $NGX_HTML '\$(DESTDIR)$NGX_PREFIX'
+ test -d '\$(DESTDIR)/srv/www/htdocs' || install -d '\$(DESTDIR)/srv/www/' && cp -r html '\$(DESTDIR)/srv/www/htdocs'
END