https://gcc.gnu.org/g:12b04452b40d49bb5322653cb5716b1ebf71b73d

commit r14-9800-g12b04452b40d49bb5322653cb5716b1ebf71b73d
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Thu Apr 4 16:18:52 2024 +0000

    go: Add go.install-dvi rule in go/Make-lang.in
    
    go has a go.dvi build rule, but lacks the go.install-dvi one.
    
    2024-04-04  Christophe Lyon  <christophe.l...@linaro.org>
    
            gcc/go/
            * Make-lang.in (go.install-dvi): New rule.

Diff:
---
 gcc/go/Make-lang.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in
index 9a31eafa219..5c569a40389 100644
--- a/gcc/go/Make-lang.in
+++ b/gcc/go/Make-lang.in
@@ -175,6 +175,16 @@ go.install-pdf: doc/gccgo.pdf
          $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \
        done
 
+go.install-dvi: doc/gccgo.dvi
+       @$(NORMAL_INSTALL)
+       test -z "$(dvidir)" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)/gcc"
+       @for p in doc/gccgo.dvi; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         f=$(dvi__strip_dir) \
+         echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/gcc/$$f'"; \
+         $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/gcc/$$f"; \
+       done
+
 go.install-html: $(build_htmldir)/go
        @$(NORMAL_INSTALL)
        test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"

Reply via email to