diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2024-04-04 16:18:52 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2024-04-05 07:04:27 +0000 |
commit | 12b04452b40d49bb5322653cb5716b1ebf71b73d (patch) | |
tree | cbd312b0723e5487b968d3ecee0a36ab7bc43a41 /gcc/go | |
parent | 4c8b3600c4856f7915281ae3ff4d97271c83a540 (diff) | |
download | gcc-12b04452b40d49bb5322653cb5716b1ebf71b73d.zip gcc-12b04452b40d49bb5322653cb5716b1ebf71b73d.tar.gz gcc-12b04452b40d49bb5322653cb5716b1ebf71b73d.tar.bz2 |
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.lyon@linaro.org>
gcc/go/
* Make-lang.in (go.install-dvi): New rule.
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/Make-lang.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in index 9a31eaf..5c569a4 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)" |