diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-05-07 08:13:28 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-05-07 09:46:24 +0300 |
commit | eb6fd60561cffdbb183e74456268439bad60b21c (patch) | |
tree | 17c47b26637b2517d517725a224d8505a6d34b81 /Makefile | |
parent | 6f481026058993305a256529a405e697a9efec2c (diff) |
Makefile: Stop installing binaries into source dir
The default Makefile target installs all of Gitaly's binaries into its
source directory. This fact was relied on in the past, where downstream
distributions used these parts to pick up correct binaries. This has
since changed, and to the best of my knowledge all distributions now use
binaries in the build directory.
Convert the default target to the "build" target, which will install
them into "_build/bin".
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -192,8 +192,7 @@ export CGO_LDFLAGS_ALLOW = -D_THREAD_SAFE .SECONDARY: .PHONY: all -all: INSTALL_DEST_DIR = ${SOURCE_DIR} -all: install +all: build .PHONY: build build: ${SOURCE_DIR}/.ruby-bundle libgit2 @@ -286,7 +285,7 @@ notice: ${SOURCE_DIR}/NOTICE .PHONY: clean clean: - rm -rf ${BUILD_DIR} ${SOURCE_DIR}/internal/testhelper/testdata/data/ ${SOURCE_DIR}/ruby/.bundle/ ${SOURCE_DIR}/ruby/vendor/bundle/ $(addprefix ${SOURCE_DIR}/, $(notdir $(call find_commands))) + rm -rf ${BUILD_DIR} ${SOURCE_DIR}/internal/testhelper/testdata/data/ ${SOURCE_DIR}/ruby/.bundle/ ${SOURCE_DIR}/ruby/vendor/bundle/ .PHONY: clean-ruby-vendor-go clean-ruby-vendor-go: |