diff options
author | Andrew Jenner <andrew@codesourcery.com> | 2010-01-04 01:36:36 +0000 |
---|---|---|
committer | Andrew Jenner <andrewjenner@gcc.gnu.org> | 2010-01-04 01:36:36 +0000 |
commit | 55bcd32b46f7f5a10d947ddb53b20f6aee003b27 (patch) | |
tree | 2f5a56a841f945c61fb062ef214dd3d117f8edd7 /gcc/java | |
parent | f0d61983a5fe28616abf24c5029dfa70b7b6930c (diff) | |
download | gcc-55bcd32b46f7f5a10d947ddb53b20f6aee003b27.zip gcc-55bcd32b46f7f5a10d947ddb53b20f6aee003b27.tar.gz gcc-55bcd32b46f7f5a10d947ddb53b20f6aee003b27.tar.bz2 |
configure.ac: Add install-html to target_list for Make-hooks.
* configure.ac: Add install-html to target_list for Make-hooks.
* configure: Regenerate.
* fortran/Make-lang.in (F95_HTMLFILES): New.
(fortran.html): Use it.
(fortran.install-html): New.
* Makefile.in (install-html): Add lang.install-html.
* java/Make-lang.in (JAVA_HTMLFILES): New.
(java.html): Use it.
(java.install-html): New.
* objc/Make-lang.in (objc.install-html): New.
* objcp/Make-lang.in (obj-c++.install-html): New.
* cp/Make-lang.in (c++.install-html): New.
* ada/gcc-interface/Make-lang.in (ada.install-html): New.
* lto/Make-lang.in (lto.install-html): New.
From-SVN: r155602
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/Make-lang.in | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index a56e2b6..107977d 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -28,7 +28,7 @@ # # foo.all.cross, foo.start.encap, foo.rest.encap, # foo.install-common, foo.install-man, foo.install-info, foo.install-pdf, -# foo.info, foo.dvi, foo.pdf, foo.html, foo.uninstall, +# foo.install-html, foo.info, foo.dvi, foo.pdf, foo.html, foo.uninstall, # foo.mostlyclean, foo.clean, foo.distclean, # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4 # @@ -138,7 +138,9 @@ JAVA_PDFFILES = doc/gcj.pdf java.pdf: $(JAVA_PDFFILES) -java.html: $(build_htmldir)/java/index.html +JAVA_HTMLFILES = $(build_htmldir)/java + +java.html: $(JAVA_HTMLFILES)/index.html JAVA_MANFILES = doc/gcj.1 doc/jcf-dump.1 doc/gij.1 \ doc/jv-convert.1 doc/grmic.1 \ @@ -205,6 +207,22 @@ java.install-pdf: $(JAVA_PDFFILES) $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \ done +java.install-html: $(JAVA_HTMLFILES) + @$(NORMAL_INSTALL) + test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)" + @list='$(JAVA_HTMLFILES)'; for p in $$list; do \ + if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ + f=$(html__strip_dir) \ + if test -d "$$d$$p"; then \ + echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \ + $(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ + echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ + $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ + else \ + echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ + $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ + fi; \ + done # # Clean hooks: # A lot of the ancillary files are deleted by the main makefile. |