-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mkpmfile
47 lines (42 loc) · 1.43 KB
/
Mkpmfile
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
# File: /Mkpmfile
# Project: integration-operator
# File Created: 13-10-2023 15:40:24
# Author: Clay Risser
# -----
# BitSpur (c) Copyright 2021 - 2023
#
# Licensed under the GNU Affero General Public License (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.gnu.org/licenses/agpl-3.0.en.html
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# You can be released from the requirements of the license by purchasing
# a commercial license. Buying such a license is mandatory as soon as you
# develop commercial activities involving this software without disclosing
# the source code of your own applications.
include $(MKPM)/mkpm
include $(MKPM)/gnu
CLOC ?= cloc
.PHONY: of/% build generate manifests install uninstall start reinstall
build: of/build
dev: of/run
generate: of/generate
install: of/install
manifests: generate of/manifests
uninstall: of/uninstall
reinstall: uninstall install
of/%:
@$(MAKE) -s $*
.PHONY: count
count:
@$(CLOC) $(shell ($(GIT) ls-files && ($(GIT) lfs ls-files | $(CUT) -d' ' -f3)) | $(SORT) | $(UNIQ) -u)
.PHONY: docker/%
docker/%:
@$(MAKE) -sC docker $*