From 8a1ca6f59e4aff5cafc5cfb7b48f5cff4813e532 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Sun, 13 Nov 2022 21:58:39 +0100 Subject: Revert "sphinx: support installation if sphinx-build is missing" This reverts commit e5821d3f62b5bf532db1be661459b7553a956fa2. --- gcc/go/Make-lang.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gcc/go') diff --git a/gcc/go/Make-lang.in b/gcc/go/Make-lang.in index e1818de..b1b1b5f 100644 --- a/gcc/go/Make-lang.in +++ b/gcc/go/Make-lang.in @@ -155,7 +155,8 @@ go.install-plugin: go.install-info: $(DESTDIR)$(infodir)/gccgo.info $(DESTDIR)$(infodir)/gccgo.info: doc/gccgo/info/texinfo/gccgo.info installdirs - -if [ -f $< ]; then rm -f $@; $(INSTALL_DATA) $< $@; fi + -rm -f $@ + -$(INSTALL_DATA) $< $@ go.install-pdf: doc/gccgo.pdf @$(NORMAL_INSTALL) @@ -187,7 +188,9 @@ go.install-html: $(build_htmldir)/go go.install-man: $(DESTDIR)$(man1dir)/$(GCCGO_INSTALL_NAME)$(man1ext) $(DESTDIR)$(man1dir)/$(GCCGO_INSTALL_NAME)$(man1ext): doc/gccgo/man/man/gccgo.1 installdirs - -if [ -f $< ]; then rm -f $@; $(INSTALL_DATA) $< $@; chmod a-x $@; fi + -rm -f $@ + -$(INSTALL_DATA) $< $@ + -chmod a-x $@ go.uninstall: rm -rf $(DESTDIR)$(bindir)/$(GCCGO_INSTALL_NAME)$(exeext) -- cgit v1.1