Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-06-17 08:55:06 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-06-17 08:58:07 +0300
commit37c74fbdf19d42b07515f0e8370e462a328ae366 (patch)
tree616d990eb6b3659264e0491068583825b5aa4c7c /Makefile
parent77d6f6e6bee63c41438ec5c186c10fa17b91fd7c (diff)
Makefile: Silence comments in NOTICE target
In Makefiles, every line of a recipe that's not prefixed by an `@` character will be printed on invocation of this target. This also includes shell comments. The NOTICE target has such a set of comments which are missing the `@`. Fix this by prefixing those lines with `${Q}` to not have them printed by default.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1d636216c..69bcc6e64 100644
--- a/Makefile
+++ b/Makefile
@@ -381,9 +381,9 @@ ${SOURCE_DIR}/NOTICE: ${BUILD_DIR}/NOTICE
${BUILD_DIR}/NOTICE: ${GO_LICENSES} clean-ruby-vendor-go
${Q}rm -rf ${BUILD_DIR}/licenses
${Q}GOOS=linux GOFLAGS="-tags=${GO_BUILD_TAGS}" ${GO_LICENSES} save ./... --save_path=${BUILD_DIR}/licenses
- # some projects may be copied from the Go module cache
- # (GOPATH/pkg/mod) and retain strict permissions (444). These
- # permissions are not desirable when removing and rebuilding:
+ ${Q}# some projects may be copied from the Go module cache
+ ${Q}# (GOPATH/pkg/mod) and retain strict permissions (444). These
+ ${Q}# permissions are not desirable when removing and rebuilding:
${Q}find ${BUILD_DIR}/licenses -type d -exec chmod 0755 {} \;
${Q}find ${BUILD_DIR}/licenses -type f -exec chmod 0644 {} \;
${Q}go run ${SOURCE_DIR}/_support/noticegen/noticegen.go -source ${BUILD_DIR}/licenses -template ${SOURCE_DIR}/_support/noticegen/notice.template > ${BUILD_DIR}/NOTICE