diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-13 07:35:55 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-13 07:35:55 +0000 |
commit | 61a98835eb32cb811714c00067d54d8fea078106 (patch) | |
tree | 3e71698c087921bf7c7f8df4d3c4cd7750ab4bd2 /gcc/treelang | |
parent | b98c35c607c0cac7532f0a03c16415c9a950bdf7 (diff) | |
download | gcc-61a98835eb32cb811714c00067d54d8fea078106.tar.gz |
* Makefile.in: Add html support.
* java/Make-lang.in: Likewise.
* fortran/Make-lang.in: Likewise.
* treelang/Make-lang.in: Likewise.
* doc/install.texi: Likewise.
* doc/makefile.texi: Likewise.
* doc/sourcebuild.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90577 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
-rw-r--r-- | gcc/treelang/Make-lang.in | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in index 2625ef1d1a4..fc4d3e6001d 100644 --- a/gcc/treelang/Make-lang.in +++ b/gcc/treelang/Make-lang.in @@ -149,16 +149,27 @@ treelang.srcinfo: doc/treelang.info dvi:: doc/treelang.dvi -doc/treelang.info: treelang/treelang.texi $(docdir)/include/gcc-common.texi \ - $(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \ +TEXI_TREELANG_FILES = treelang/treelang.texi \ + $(docdir)/include/gcc-common.texi \ + $(docdir)/include/gpl.texi \ + $(docdir)/include/fdl.texi \ $(docdir)/include/funding.texi + +doc/treelang.info: $(TEXI_TREELANG_FILES) $(MAKEINFO) $(MAKEINFOFLAGS) -I$(docdir)/include -o $@ $< -doc/treelang.dvi: treelang/treelang.texi $(docdir)/include/gcc-common.texi \ - $(docdir)/include/gpl.texi $(docdir)/include/fdl.texi \ - $(docdir)/include/funding.texi +doc/treelang.dvi: $(TEXI_TREELANG_FILES) $(TEXI2DVI) -I $(abs_docdir)/include -o $@ $< +html:: $(htmldir)/treelang/index.html + +$(htmldir)/treelang/index.html: $(TEXI_TREELANG_FILES) + $(mkinstalldirs) $(@D) + rm -f $(@D)/* + $(TEXI2HTML) -I$(docdir)/include -I$(srcdir)/treelang \ + --verbose --number-sections \ + -o $(@D) $< + # # Install hooks: @@ -295,10 +306,4 @@ treelang.check.fix: force # -.PHONY: treelang.html - -treelang.html: - cd $(srcdir)/treelang && texi2html -I ../doc/include -verbose -menu -split_chapter -number treelang.texi -# mv treelang*.html $(srcdir)/treelang - config.status: treelang/config-lang.in |