diff options
author | Brooks Moses <brooks.moses@codesourcery.com> | 2007-03-02 00:23:20 +0000 |
---|---|---|
committer | Brooks Moses <brooks@gcc.gnu.org> | 2007-03-01 16:23:20 -0800 |
commit | bcc3d150be9a6665de62f6c7e8bda0f0d1d8b740 (patch) | |
tree | 1f95f32fc651db7a9e53718beeef48acfd1e95d0 | |
parent | c279aa90a741ba0577a48cbe2d04a8cd7611eb9f (diff) | |
download | gcc-bcc3d150be9a6665de62f6c7e8bda0f0d1d8b740.zip gcc-bcc3d150be9a6665de62f6c7e8bda0f0d1d8b740.tar.gz gcc-bcc3d150be9a6665de62f6c7e8bda0f0d1d8b740.tar.bz2 |
Makefile.in: Add install-pdf target as copied from automake v1.10 rules.
* Makefile.in: Add install-pdf target as
copied from automake v1.10 rules.
* configure.ac: Add install-pdf to target list.
* configure: Regenerate.
From-SVN: r122466
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/Makefile.in | 18 | ||||
-rwxr-xr-x | gcc/configure | 4 | ||||
-rw-r--r-- | gcc/configure.ac | 4 |
4 files changed, 27 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3d0a7e..1ddd423 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> + + * Makefile.in: Add install-pdf target as + copied from automake v1.10 rules. + * configure.ac: Add install-pdf to target list. + * configure: Regenerate. + 2007-03-01 Paul Brook <paul@codesourcery.com> * config/arm/arm.c (arm_legitimate_index_p): Limit iWMMXt addressing diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 974f6b4..b29a52c 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3597,8 +3597,10 @@ doc/%.dvi: %.texi doc/gccinstall.dvi: $(TEXI_GCCINSTALL_FILES) $(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $< -pdf:: doc/gcc.pdf doc/gccint.pdf doc/gccinstall.pdf doc/cpp.pdf \ - doc/cppinternals.pdf lang.pdf +PDFFILES = doc/gcc.pdf doc/gccint.pdf doc/gccinstall.pdf doc/cpp.pdf \ + doc/cppinternals.pdf + +pdf:: $(PDFFILES) lang.pdf doc/%.pdf: %.texi $(TEXI2PDF) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $< @@ -3895,6 +3897,18 @@ $(DESTDIR)$(infodir)/%.info: doc/%.info installdirs else true; fi; \ else true; fi; +pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + +install-pdf: $(PDFFILES) lang.install-pdf + @$(NORMAL_INSTALL) + test -z "$(pdfdir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)/gcc" + @list='$(PDFFILES)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(pdf__strip_dir) \ + echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/gcc/$$f'"; \ + $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \ + done + html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; install-html: $(HTMLS_BUILD) diff --git a/gcc/configure b/gcc/configure index e1f72d7..ba7be7c 100755 --- a/gcc/configure +++ b/gcc/configure @@ -16674,8 +16674,8 @@ done rm -f Make-hooks touch Make-hooks target_list="all.cross start.encap rest.encap tags \ - install-common install-man install-info dvi pdf html \ - uninstall info man srcextra srcman srcinfo \ + install-common install-man install-info install-pdf dvi pdf \ + html uninstall info man srcextra srcman srcinfo \ mostlyclean clean distclean maintainer-clean" for t in $target_list diff --git a/gcc/configure.ac b/gcc/configure.ac index ef2249b..e64d106 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3574,8 +3574,8 @@ done rm -f Make-hooks touch Make-hooks target_list="all.cross start.encap rest.encap tags \ - install-common install-man install-info dvi pdf html \ - uninstall info man srcextra srcman srcinfo \ + install-common install-man install-info install-pdf dvi pdf \ + html uninstall info man srcextra srcman srcinfo \ mostlyclean clean distclean maintainer-clean" for t in $target_list |