From: "Jan Beulich" Subject: [PATCH v2] docs: make .txt files over-writable when building from r/o sources Date: Fri, 25 Jul 2014 15:56:35 +0100 Message-ID: <53D28C43020000780002613A@mail.emea.novell.com> References: <53B6D9CF0200007800020CB9@mail.emea.novell.com> <53B6BE68.3000408@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartAA982633.1__=" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XAgvH-0001pG-6v for xen-devel@lists.xenproject.org; Fri, 25 Jul 2014 14:56:39 +0000 In-Reply-To: <53B6BE68.3000408@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Andrew Cooper List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartAA982633.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Otherwise an incremental build will fail to overwrite the destination files. Signed-off-by: Jan Beulich --- v2: Use $(INSTALL_DATA) instead of cp+chmod. --- a/docs/Makefile +++ b/docs/Makefile @@ -124,7 +124,7 @@ endif =20 html/%.txt: %.txt $(INSTALL_DIR) $(@D) - cp $< $@ + $(INSTALL_DATA) $< $@ =20 html/man/%.1.html: man/%.pod.1 Makefile $(INSTALL_DIR) $(@D) --=__PartAA982633.1__= Content-Type: text/plain; name="make-docs-ro-source.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="make-docs-ro-source.patch" docs: make .txt files over-writable when building from r/o sources=0A=0AOth= erwise an incremental build will fail to overwrite the destination=0Afiles.= =0A=0ASigned-off-by: Jan Beulich =0A---=0Av2: Use = $(INSTALL_DATA) instead of cp+chmod.=0A=0A--- a/docs/Makefile=0A+++ = b/docs/Makefile=0A@@ -124,7 +124,7 @@ endif=0A =0A html/%.txt: %.txt=0A = $(INSTALL_DIR) $(@D)=0A- cp $< $@=0A+ $(INSTALL_DATA) $< $@=0A = =0A html/man/%.1.html: man/%.pod.1 Makefile=0A $(INSTALL_DIR) $(@D)=0A --=__PartAA982633.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartAA982633.1__=--