[PATCH] build fix

Jan Beulich JBeulich@novell.com
Thu Nov 10 09:12:00 GMT 2005
>2005-11-07  Mark Mitchell  <mark@codesourcery.com>
>
>	* doc/Makefile.am (asconfig.texi): Set top_srcdir.
>	* doc/Makefile.in: Regenerated.
>	* doc/as.texinfo: Document "@FILE".

This change caused the build to fail when the source tree is
read-only.

Jan

gas/
2005-11-10  Jan Beulich  <jbeulich@novell.com>

	* doc/Makefile.am: Make asconfig.texi writeable before trying
	to write to it.
	* doc/Makefile.in: Refresh.

--- 2005-11-09/gas/doc/Makefile.am.0	2005-11-08 14:26:42.000000000
+0100
+++ 2005-11-09/gas/doc/Makefile.am	2005-11-10 09:47:13.527206264
+0100
@@ -19,7 +19,8 @@ info_TEXINFOS = as.texinfo 
 
 asconfig.texi: $(CONFIG).texi
 	rm -f asconfig.texi
-	cp $(srcdir)/$(CONFIG).texi ./asconfig.texi	
+	cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
+	chmod u+w ./asconfig.texi
 	echo "@set top_srcdir $(top_srcdir)" >> ./asconfig.texi
 
 CPU_DOCS = \
--- 2005-11-09/gas/doc/Makefile.in.0	2005-11-08 14:26:42.000000000
+0100
+++ 2005-11-09/gas/doc/Makefile.in	2005-11-10 09:47:32.024394264
+0100
@@ -577,7 +577,8 @@ uninstall-man: uninstall-man1
 
 asconfig.texi: $(CONFIG).texi
 	rm -f asconfig.texi
-	cp $(srcdir)/$(CONFIG).texi ./asconfig.texi	
+	cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
+	chmod u+w ./asconfig.texi
 	echo "@set top_srcdir $(top_srcdir)" >> ./asconfig.texi
 
 gasver.texi: $(srcdir)/../../bfd/configure

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-mainline-gas-doc-build.patch
Type: application/octet-stream
Size: 1335 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20051110/5a65a0bf/attachment.obj>


More information about the Binutils mailing list