* [PATCH] go: Add go.install-dvi rule in go/Make-lang.in
@ 2024-04-04 16:26 Christophe Lyon
2024-04-05 2:11 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Lyon @ 2024-04-04 16:26 UTC (permalink / raw)
To: gcc-patches, ian; +Cc: Christophe Lyon
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.
---
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)"
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] go: Add go.install-dvi rule in go/Make-lang.in
2024-04-04 16:26 [PATCH] go: Add go.install-dvi rule in go/Make-lang.in Christophe Lyon
@ 2024-04-05 2:11 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2024-04-05 2:11 UTC (permalink / raw)
To: Christophe Lyon; +Cc: gcc-patches
On Thu, Apr 4, 2024 at 9:27 AM Christophe Lyon
<christophe.lyon@linaro.org> wrote:
>
> 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.
This is OK. Thanks.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-05 2:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 16:26 [PATCH] go: Add go.install-dvi rule in go/Make-lang.in Christophe Lyon
2024-04-05 2:11 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).