Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-workhorse
Commits
58f7fc22
Commit
58f7fc22
authored
Oct 22, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to configure `BUILD_DIR` and `TARGET_DIR`
parent
e510462d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Makefile
Makefile
+3
-3
No files found.
Makefile
View file @
58f7fc22
PREFIX
=
/usr/local
PKG
:=
gitlab.com/gitlab-org/gitlab-workhorse
BUILD_DIR
:
=
$(CURDIR)
TARGET_DIR
:
=
$(BUILD_DIR)
/_build
BUILD_DIR
?
=
$(CURDIR)
TARGET_DIR
?
=
$(BUILD_DIR)
/_build
TARGET_SETUP
:=
$(TARGET_DIR)
/.ok
BIN_BUILD_DIR
:=
$(TARGET_DIR)
/bin
PKG_BUILD_DIR
:=
$(TARGET_DIR)
/src/
$(PKG)
...
...
@@ -38,7 +38,7 @@ $(TARGET_SETUP):
$(
call
message,
"Setting up target directory"
)
rm
-rf
$(TARGET_DIR)
mkdir
-p
"
$(
dir
$(PKG_BUILD_DIR)
)
"
ln
-sf
../../../..
"
$(PKG_BUILD_DIR)
"
ln
-sf
"
$(CURDIR)
"
"
$(PKG_BUILD_DIR)
"
mkdir
-p
"
$(BIN_BUILD_DIR)
"
touch
"
$(TARGET_SETUP)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment