blob: d3eac224f8fb91ef8752d3008bcf1bf7a310378c [file] [log] [blame]
Joey Armstrong85e34512023-09-28 16:40:31 -04001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrongdc04c932024-04-01 12:14:21 -04003# Copyright 2022-2024 Open Networking Foundation Contributors
Joey Armstrong85e34512023-09-28 16:40: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 Armstrong85e34512023-09-28 16:40: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 Armstrong85e34512023-09-28 16:40:31 -040022
23$(if $(DEBUG),$(warning ENTER))
24
25## -----------------------------------------------------------------------
26## Intent: Display topic help
27## -----------------------------------------------------------------------
28help-summary ::
29 @printf ' %-30s %s\n' 'lint-shell'\
30 'Run shellcheck on sources'
31 @printf ' %-30s %s\n' 'lint-shell-help'\
32 'Show verbose target help'
33 ifdef VERBOSE
34 @$(MAKE) --no-print-directory lint-shell-help
35 endif
36
37## -----------------------------------------------------------------------
38## Intent: Display extended topic help
39## -----------------------------------------------------------------------
40.PHONY: lint-shell-help
41lint-shell-help ::
42 @printf ' %-30s %s\n' 'lint-shell-all'\
43 'Shellcheck available sources'
44 @printf ' %-30s %s\n' 'lint-shell-mod'\
45 'Shellcheck locally modified files (git status)'
46 @printf ' %-30s %s\n' 'lint-shell-src'\
47 'Shellcheck files by path'
48
49$(if $(DEBUG),$(warning LEAVE))
50
51# [EOF]