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:
parent
cb29729809
commit
e1eefa15ef
@ -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>
|
||||
|
||||
* treelang.texi: Standardize title page, remove version number
|
||||
|
@ -24,8 +24,8 @@
|
||||
# Each language makefile fragment must provide the following targets:
|
||||
#
|
||||
# foo.all.cross, foo.start.encap, foo.rest.encap,
|
||||
# foo.install-common, foo.install-man, foo.install-info, foo.dvi, foo.pdf
|
||||
# foo.html, foo.uninstall,
|
||||
# foo.install-common, foo.install-man, foo.install-info, foo.install-pdf,
|
||||
# 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
|
||||
#
|
||||
@ -160,7 +160,9 @@ treelang.srcinfo: doc/treelang.info
|
||||
|
||||
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 \
|
||||
$(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
|
||||
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.uninstall:
|
||||
|
Loading…
Reference in New Issue
Block a user