Joey Armstrong | 0e0f05a | 2023-10-02 17:41:31 -0400 | [diff] [blame] | 1 | # -*- makefile -*- |
| 2 | # ----------------------------------------------------------------------- |
Joey Armstrong | dc04c93 | 2024-04-01 12:14:21 -0400 | [diff] [blame] | 3 | # Copyright 2022-2024 Open Networking Foundation Contributors |
Joey Armstrong | 0e0f05a | 2023-10-02 17:41:31 -0400 | [diff] [blame] | 4 | # |
| 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 Armstrong | dc04c93 | 2024-04-01 12:14:21 -0400 | [diff] [blame] | 9 | # http:#www.apache.org/licenses/LICENSE-2.0 |
Joey Armstrong | 0e0f05a | 2023-10-02 17:41:31 -0400 | [diff] [blame] | 10 | # |
| 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 Armstrong | dc04c93 | 2024-04-01 12:14:21 -0400 | [diff] [blame] | 17 | # SPDX-FileCopyrightText: 2022-2024 Open Networking Foundation Contributors |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | # ----------------------------------------------------------------------- |
| 20 | # Intent: |
| 21 | # ----------------------------------------------------------------------- |
Joey Armstrong | 0e0f05a | 2023-10-02 17:41:31 -0400 | [diff] [blame] | 22 | |
| 23 | $(if $(DEBUG),$(warning ENTER)) |
| 24 | |
| 25 | ## ----------------------------------------------------------------------- |
| 26 | ## Intent: Display topic help |
| 27 | ## ----------------------------------------------------------------------- |
| 28 | help-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 |
| 43 | lint-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 Armstrong | 7ebfb1f | 2024-02-29 12:24:08 -0500 | [diff] [blame] | 50 | @printf ' %-30s %s\n' 'lint-reuse-install'\ |
| 51 | 'pip install --requirements ./conf reuse' |
Joey Armstrong | 0e0f05a | 2023-10-02 17:41:31 -0400 | [diff] [blame] | 52 | |
| 53 | $(if $(DEBUG),$(warning LEAVE)) |
| 54 | |
| 55 | # [EOF] |