aboutsummaryrefslogtreecommitdiff
path: root/gotools/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-02-13 00:10:06 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-02-13 00:10:06 +0000
commit7ca1909caa2d7ba833b4ecb424cf5b50180f42d5 (patch)
treefbdf43d7ad66f50a6f19625775b1798e20a7a6fb /gotools/Makefile.am
parentced20a50bc3c34dc36d602f024123433bf009f5d (diff)
downloadgcc-7ca1909caa2d7ba833b4ecb424cf5b50180f42d5.zip
gcc-7ca1909caa2d7ba833b4ecb424cf5b50180f42d5.tar.gz
gcc-7ca1909caa2d7ba833b4ecb424cf5b50180f42d5.tar.bz2
re PR go/89193 ("make distclean" leaves stuff in gotools/)
PR go/89193 * Makefile.am (mostlyclean-local): Avoid getting an error from chmod. Remove check-vet-dir and gocache-test. * Makefile.in: Regenerate. From-SVN: r268830
Diffstat (limited to 'gotools/Makefile.am')
-rw-r--r--gotools/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/gotools/Makefile.am b/gotools/Makefile.am
index ad0ad24..2ade1d7 100644
--- a/gotools/Makefile.am
+++ b/gotools/Makefile.am
@@ -100,8 +100,9 @@ MOSTLYCLEANFILES = \
*.sent
mostlyclean-local:
- -chmod -R u+w check-go-dir
- rm -rf check-go-dir check-runtime-dir cgo-test-dir carchive-test-dir
+ if test -d check-go-dir; then chmod -R u+w check-go-dir; fi
+ rm -rf check-go-dir check-runtime-dir cgo-test-dir carchive-test-dir \
+ check-vet-dir gocache-test
if NATIVE