This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: build error in binutils/doc/
- To: Bruno Haible <haible at ilog dot fr>
- Subject: Re: build error in binutils/doc/
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sun, 16 Sep 2001 09:08:45 -0700
- Cc: binutils at sourceware dot cygnus dot com
- References: <15268.51608.819766.923681@honolulu.ilog.fr>
On Sun, Sep 16, 2001 at 05:47:36PM +0200, Bruno Haible wrote:
> Hi,
>
> This patch fixes a build error when building the CVS snapshot with
> builddir != srcdir. cxxfilt.man is in $(srcdir).
>
>
> 2001-09-15 Bruno Haible <haible@clisp.cons.org>
>
> * doc/Makefile.am (c++filt.1): Use $(srcdir)/cxxfilt.man, not
> cxxfilt.man.
>
I don't think it is right since cxxfilt.man is a generated file.
Unfortunately, we cannot assume gnu make. Something is wrong with
the CVS snapshot. I didn't see it since I don't use the CVS snapshot.
This patch should remove cxxfilt.man from the CVS snapshot.
H.J.
-----
2000-09-16 H.J. Lu <hjl@gnu.org>
* doc/Makefile.am (MOSTLYCLEANFILES): Add cxxfilt.man.
* doc/Makefile.in: Rebuild.
Index: doc/Makefile.am
===================================================================
RCS file: /work/cvs/gnu/binutils/binutils/doc/Makefile.am,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 Makefile.am
--- doc/Makefile.am 2001/08/03 15:37:23 1.1.1.3
+++ doc/Makefile.am 2001/09/16 16:05:13
@@ -143,7 +143,7 @@ cxxfilt.man: $(binutils_TEXI)
MAINTAINERCLEANFILES = config.texi
DISTCLEANFILES = config.texi
-MOSTLYCLEANFILES = $(DEMANGLER_NAME).1
+MOSTLYCLEANFILES = $(DEMANGLER_NAME).1 cxxfilt.man
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' \