blob: 6e4d12cdb1b34ef65a34fd84b9483aafaa302002 [file] [log] [blame]
Joey Armstrong0e0f05a2023-10-02 17:41:31 -04001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrongdc04c932024-04-01 12:14:21 -04003# Copyright 2022-2024 Open Networking Foundation Contributors
Joey Armstrong0e0f05a2023-10-02 17:41:31 -04004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
Joey Armstrongdc04c932024-04-01 12:14:21 -04009# http:#www.apache.org/licenses/LICENSE-2.0
Joey Armstrong0e0f05a2023-10-02 17:41:31 -040010#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# -----------------------------------------------------------------------
Joey Armstrongdc04c932024-04-01 12:14:21 -040017# SPDX-FileCopyrightText: 2022-2024 Open Networking Foundation Contributors
18# SPDX-License-Identifier: Apache-2.0
19# -----------------------------------------------------------------------
20# Intent:
21# -----------------------------------------------------------------------
Joey Armstrong0e0f05a2023-10-02 17:41:31 -040022
23$(if $(DEBUG),$(warning ENTER))
24
25## -----------------------------------------------------------------------
26## Intent: Display topic help
27## -----------------------------------------------------------------------
28help-summary ::
29 @printf ' %-30s %s\n' 'lint-reuse'\
30 'License syntax check'
31 @printf ' %-30s %s\n' 'lint-reuse-help'\
32 'Show verbose target help'
33 @printf ' %-30s %s\n' 'lint-license'\
34 'See target lint-reuse'
35 ifdef VERBOSE
36 @$(MAKE) --no-print-directory lint-reuse-help
37 endif
38
39## -----------------------------------------------------------------------
40## Intent: Display extended topic help
41## -----------------------------------------------------------------------
42.PHONY: lint-reuse-help
43lint-reuse-help ::
44 @printf ' %-30s %s\n' 'lint-reuse-all'\
45 'License check available sources'
46 @printf ' %-30s %s\n' 'lint-reuse-mod'\
47 'License check locally modified files (git status)'
48 @printf ' %-30s %s\n' 'lint-reuse-src'\
49 'License check files by path'
Joey Armstrong7ebfb1f2024-02-29 12:24:08 -050050 @printf ' %-30s %s\n' 'lint-reuse-install'\
51 'pip install --requirements ./conf reuse'
Joey Armstrong0e0f05a2023-10-02 17:41:31 -040052
53$(if $(DEBUG),$(warning LEAVE))
54
55# [EOF]