This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: treelang patch part 1 of 6
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Tim Josling <tej at melbpc dot org dot au>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 5 May 2002 12:15:39 +0100 (BST)
- Subject: Re: treelang patch part 1 of 6
On Sun, 5 May 2002, Tim Josling wrote:
> + treelang.dvi: $(srcdir)/treelang/treelang.texi
> + TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI)
> $(srcdir)/treelang/treelang.texi; \
> + texindex treelang.??; \
> + TEXINPUTS=$(srcdir)/treelang:$(srcdir):$$TEXINPUTS $(TEXI2DVI)
> $(srcdir)/treelang/treelang.texi; \
> + mv treelang.dvi treelang;
Use $(TEXI2DVI) just once, no separate texindex.
You seem to be lacking the treelang.generated-manpages target. It should
be there, though it needn't do anything.
> + # diff_excludes - files to ignore when building diffs between
> two versions.
> +
> + language="treelang"
> +
> + compilers="tree1\$(exeext)"
> +
> + stagestuff=
> +
> + diff_excludes="-x lex.c -x parse.c -x parse.h"
diff_excludes is obsolete. When maintaining a front end outside the tree
for a long time, you need to watch gcc-patches for patches relevant to it
(in this case, mine removing all the relics of diff_excludes from all
front ends) and update yours accordingly.
Make-lang.in and config-lang.in are documented in sourcebuild.texi. If
you haven't read the documentation of the front end build interface, then
do so, and update the front end accordingly.
(For a toy language like this, some of the list of places outside a front
end directory that need updating for a new front end may not apply.
However, you should go through them, and, for each one you're not
updating, send the justification to gcc-patches.)
--
Joseph S. Myers
jsm28@cam.ac.uk