This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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] manual Makefile


The manual/texis file is generated during make and is created directly into the libc/manual directory. This is unfortunate becuase if you run to makes (in different build directories) against the same libc source, and both attempt to generate libc/manual/texis simultainously one or both may fail.

This patch creates the texis.T file in the $(common-objpfx) directory before moving it to the libc/manual/texis source directory.

2003-06-06 Steven Munroe <sjmunroe@us.ibm.com>

* manual/Makefile [texis]: Build texis.T file in $(common-objpfx) before moving it libc/manual/texis.

diff -urN libc23-cvstip-20030602/manual/Makefile libc23-ppc64nptl-20030602/manual/Makefile
--- libc23-cvstip-20030602/manual/Makefile	2002-04-20 19:42:54.000000000 -0500
+++ libc23-ppc64nptl-20030602/manual/Makefile	2003-06-02 10:09:06.000000000 -0500
@@ -63,8 +63,8 @@
 
 -include texis
 texis: texis.awk $(chapters) $(add-chapters) $(appendices) lesser.texi fdl.texi
-	$(AWK) -f $^ > $@.T
-	mv -f $@.T $@
+	$(AWK) -f $^ > $(common-objpfx)/$@.T
+	mv -f $(common-objpfx)/$@.T $@
 
 nonexamples = $(filter-out $(add-chapters) %.c.texi, $(texis))
 examples = $(filter-out $(foreach d, $(add-ons), ../$d/%.c.texi), \

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