xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: make .txt files writable when building from r/o sources
@ 2014-07-04 14:43 Jan Beulich
  2014-07-04 14:47 ` Andrew Cooper
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2014-07-04 14:43 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

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

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- 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 #2: make-docs-ro-source.patch --]
[-- Type: text/plain, Size: 406 bytes --]

docs: make .txt files writable when building from r/o sources

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

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- 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 #3: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-25 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 14:43 [PATCH] docs: make .txt files writable when building from r/o sources Jan Beulich
2014-07-04 14:47 ` Andrew Cooper
2014-07-04 14:51   ` Jan Beulich
2014-07-04 15:04     ` Andrew Cooper
2014-07-25 14:56   ` [PATCH v2] docs: make .txt files over-writable " Jan Beulich
2014-07-25 15:24     ` Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).