diff options
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/Makefile.am | 14 | ||||
-rw-r--r-- | binutils/doc/Makefile.in | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/binutils/doc/Makefile.am b/binutils/doc/Makefile.am index 15953e0..71aa192 100644 --- a/binutils/doc/Makefile.am +++ b/binutils/doc/Makefile.am @@ -161,6 +161,20 @@ $(DEMANGLER_NAME).1: cxxfilt.man Makefile # cygnus option. install-data-local: install-info +pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; + +install-pdf: install-pdf-am + +install-pdf-am: $(PDFS) + @$(NORMAL_INSTALL) + test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" + @list='$(PDFS)'; 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__strip_dir = `echo $$p | sed -e 's|^.*/||'`; install-html: install-html-am diff --git a/binutils/doc/Makefile.in b/binutils/doc/Makefile.in index 7f7303d..9379255 100644 --- a/binutils/doc/Makefile.in +++ b/binutils/doc/Makefile.in @@ -229,6 +229,7 @@ lt_ECHO = @lt_ECHO@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ sbindir = @sbindir@ @@ -278,6 +279,7 @@ TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty" \ -I "$(top_srcdir)/../bfd/doc" -I ../../bfd/doc MOSTLYCLEANFILES = $(DEMANGLER_NAME).1 +pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; MAINTAINERCLEANFILES = binutils.info @@ -725,6 +727,18 @@ $(DEMANGLER_NAME).1: cxxfilt.man Makefile # cygnus option. install-data-local: install-info +install-pdf: install-pdf-am + +install-pdf-am: $(PDFS) + @$(NORMAL_INSTALL) + test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" + @list='$(PDFS)'; 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 + install-html: install-html-am install-html-am: $(HTMLS) |