-
Notifications
You must be signed in to change notification settings - Fork 325
/
Makefile.in
28 lines (21 loc) · 860 Bytes
/
Makefile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# A minimal Makefile that downloads the "task" tool and passes things off to
# that tool for executing (so "make all" actually becomes "task all"). See
# Taskfile.yml for more detail.
source_dir:=@source_dir@
build_dir:=@build_dir@
export BUILD_DIR=$(build_dir)
work_dir:=$(build_dir)/build/work
prefix:=@prefix@
export PREFIX=$(prefix)
.PHONY: default task-passthrough
default: all
# Download and locally install the "task" tool.
task_version:=3.38.0
$(source_dir)/tasks/bootstrap-$(task_version): ;
$(work_dir)/stamp/bootstrap-$(task_version): $(source_dir)/tasks/bootstrap-$(task_version)
$(source_dir)/tasks/bootstrap-$(task_version)
task-passthrough: $(work_dir)/stamp/bootstrap-$(task_version)
$(work_dir)/task --dir "$(source_dir)" $(MAKECMDGOALS)
# Match all commands sent to "make" and send them to "task" instead.
%: task-passthrough
@true