[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] docs: make .txt files writable when building from r/o sources


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Jan Beulich" <JBeulich@xxxxxxxx>
  • Date: Fri, 04 Jul 2014 15:43:59 +0100
  • Delivery-date: Fri, 04 Jul 2014 14:44:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Otherwise an incremental build will fail to overwrite the destination
files.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/docs/Makefile
+++ b/docs/Makefile
@@ -125,6 +125,7 @@ endif
 html/%.txt: %.txt
        $(INSTALL_DIR) $(@D)
        cp $< $@
+       chmod u+w $@
 
 html/man/%.1.html: man/%.pod.1 Makefile
        $(INSTALL_DIR) $(@D)



Attachment: make-docs-ro-source.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.