-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathMakefile
48 lines (40 loc) · 1.06 KB
/
Makefile
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#
# Author: Hari Sekhon
# Date: 2016-01-17 12:56:53 +0000 (Sun, 17 Jan 2016)
#
# vim:ts=4:sts=4:sw=4:noet
#
# https://github.com/HariSekhon/HAProxy-configs
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback
#
# https://www.linkedin.com/in/HariSekhon
#
ifneq ("$(wildcard bash-tools/Makefile.in)", "")
include bash-tools/Makefile.in
endif
REPO := HariSekhon/HAProxy-configs
.PHONY: build
build: init
@echo =========================
@echo HAProxy Configs Build
@echo =========================
@$(MAKE) git-summary
$(MAKE) system-packages
.PHONY: init
init:
git submodule update --init --recursive
#.PHONY: build
# space here prevents weird validation warning from check_makefile.sh => Makefile:40: warning: undefined variable `D'
#build : submodules system-packages
# :
.PHONY: install
# space here prevents weird validation warning from check_makefile.sh => Makefile:40: warning: undefined variable `D'
install: build
@:
.PHONY: test
test:
@./check_haproxy_syntax.sh
.PHONY: clean
clean:
@echo Nothing to clean