From fb33b2bd7fda7b183a6bf07995c0ff476b676414 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 1 Aug 2014 16:28:48 +0200 Subject: [PATCH] docs: make .txt files over-writable when building from r/o sources Otherwise an incremental build will fail to overwrite the destination files. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- docs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 46e8f2264a..2c0903b10a 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -124,7 +124,7 @@ endif html/%.txt: %.txt $(INSTALL_DIR) $(@D) - cp $< $@ + $(INSTALL_DATA) $< $@ html/man/%.1.html: man/%.pod.1 Makefile $(INSTALL_DIR) $(@D) -- 2.30.2