This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] build fix


>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

Attachment: binutils-mainline-gas-doc-build.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]