Make-lang.in: Add install-pdf target as copied from automake v1.10 rules.

* Make-lang.in: Add install-pdf target as copied from
automake v1.10 rules.

From-SVN: r122461
This commit is contained in:
Brooks Moses 2007-03-02 00:17:38 +00:00 committed by Brooks Moses
parent cb29729809
commit e1eefa15ef
2 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
* Make-lang.in: Add install-pdf target as copied from
automake v1.10 rules.
2007-02-26 Brooks Moses <brooks.moses@codesourcery.com> 2007-02-26 Brooks Moses <brooks.moses@codesourcery.com>
* treelang.texi: Standardize title page, remove version number * treelang.texi: Standardize title page, remove version number

View File

@ -24,8 +24,8 @@
# Each language makefile fragment must provide the following targets: # Each language makefile fragment must provide the following targets:
# #
# foo.all.cross, foo.start.encap, foo.rest.encap, # foo.all.cross, foo.start.encap, foo.rest.encap,
# foo.install-common, foo.install-man, foo.install-info, foo.dvi, foo.pdf # foo.install-common, foo.install-man, foo.install-info, foo.install-pdf,
# foo.html, foo.uninstall, # foo.info, foo.dvi, foo.pdf, foo.html, foo.uninstall,
# foo.mostlyclean, foo.clean, foo.distclean, # foo.mostlyclean, foo.clean, foo.distclean,
# foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4 # foo.maintainer-clean, foo.stage1, foo.stage2, foo.stage3, foo.stage4
# #
@ -160,7 +160,9 @@ treelang.srcinfo: doc/treelang.info
treelang.dvi: doc/treelang.dvi treelang.dvi: doc/treelang.dvi
treelang.pdf: doc/treelang.pdf TREELANG_PDFFILES = doc/treelang.pdf
treelang.pdf: $(TREELANG_PDFFILES)
TEXI_TREELANG_FILES = treelang/treelang.texi \ TEXI_TREELANG_FILES = treelang/treelang.texi \
$(gcc_docdir)/include/gcc-common.texi \ $(gcc_docdir)/include/gcc-common.texi \
@ -210,6 +212,16 @@ treelang.install.common.done: installdirs treelang.done
# We might not be able to build the info files # We might not be able to build the info files
treelang.install-info: $(DESTDIR)$(infodir)/treelang.info treelang.install-info: $(DESTDIR)$(infodir)/treelang.info
treelang.install-pdf: $(TREELANG_PDFFILES)
@$(NORMAL_INSTALL)
test -z "$(pdfdir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)/gcc"
@list='$(TREELANG_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
treelang.install-man: treelang.install-man:
treelang.uninstall: treelang.uninstall: