diff options
author | Brooks Moses <brooks.moses@codesourcery.com> | 2007-03-01 23:47:02 +0000 |
---|---|---|
committer | Brooks Moses <brooks@gcc.gnu.org> | 2007-03-01 15:47:02 -0800 |
commit | 267686a7454ee7fbff3a08d8780a8eeb69ba5f13 (patch) | |
tree | e9e667067ec7ccc69ee8ac1a4a5cc121c12cd132 /libiberty | |
parent | fe2d934b4b7bdb0e3f72b575f90041e4e9b7e140 (diff) | |
download | gcc-267686a7454ee7fbff3a08d8780a8eeb69ba5f13.tar.gz |
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.
* testsuite/Makefile.in: Add dummy install-pdf target.
From-SVN: r122438
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 6 | ||||
-rw-r--r-- | libiberty/Makefile.in | 19 | ||||
-rw-r--r-- | libiberty/testsuite/Makefile.in | 3 |
3 files changed, 26 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 34e01a8d07a..6ac77d7cc17 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,9 @@ +2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> + + * Makefile.in: Add install-pdf target as copied from + automake v1.10 rules. + * testsuite/Makefile.in: Add dummy install-pdf target. + 2007-03-01 Peter Breitenlohner <peb@mppmu.mpg.de> Eric Botcazou <ebotcazou@libertysurf.fr> diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 570d2e8ba15..90686f00b15 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -245,7 +245,24 @@ info: libiberty.info info-subdir install-info: install-info-subdir clean-info: clean-info-subdir dvi: libiberty.dvi dvi-subdir -pdf: libiberty.pdf pdf-subdir + +LIBIBERTY_PDFFILES = libiberty.pdf + +pdf: $(LIBIBERTY_PDFFILES) pdf-subdir + +.PHONY: install-pdf + +pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + +install-pdf: $(LIBIBERTY_PDFFILES) + @$(NORMAL_INSTALL) + test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" + @list='$(LIBIBERTY_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)/$$f'"; \ + $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \ + done # html, install-html targets HTMLS = libiberty.html diff --git a/libiberty/testsuite/Makefile.in b/libiberty/testsuite/Makefile.in index 6979d941aed..56800a7a7ce 100644 --- a/libiberty/testsuite/Makefile.in +++ b/libiberty/testsuite/Makefile.in @@ -73,7 +73,8 @@ test-expandargv: $(srcdir)/test-expandargv.c ../libiberty.a $(srcdir)/test-expandargv.c ../libiberty.a # Standard (either GNU or Cygnus) rules we don't use. -html install-html info install-info clean-info dvi pdf install etags tags installcheck: +html install-html info install-info clean-info dvi pdf install-pdf \ +install etags tags installcheck: # The standard clean rules. mostlyclean: |