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

Re: [patches] [PATCH] make texis in $(objpfx) not in srcdir



On Wed, 02 Sep 2009 09:02:52 -0500, Joseph S. Myers <joseph@xxxxxxxxxxxxxxxx> wrote:

On Tue, 1 Sep 2009, Peter Seebach wrote:

So, it needs a $(make-target-directory) at the top of the production rule.

If you are proposing a revised patch, could you send the exact new patch
you are proposing, not just a description of the changes to a previous
patch?

Sure:


diff -Nur glibc-2.8.orig/manual/Makefile glibc-2.8/manual/Makefile
--- glibc-2.8.orig/manual/Makefile      2009-08-28 11:42:43.000000000 -0700
+++ glibc-2.8/manual/Makefile   2009-08-28 11:42:57.000000000 -0700
@@ -62,8 +62,9 @@
 appendices = lang.texi header.texi install.texi maint.texi contrib.texi \
             freemanuals.texi

--include texis
-texis: texis.awk $(chapters) $(add-chapters) $(appendices) lesser.texi fdl.texi
+-include $(objpfx)texis
+$(objpfx)texis: texis.awk $(chapters) $(add-chapters) $(appendices) lesser.texi fdl.texi
+       $(make-target-directory)
        $(AWK) -f $^ > $@.T
        mv -f $@.T $@



--
Listen, get this. Nobody, with a good compiler, needs to be justified.