blob: 0361a0ce233ecb4bb5165bde41fa48a7d349959d [file] [log] [blame]
Joey Armstrong88fca722024-01-31 22:52:17 -05001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrongdc04c932024-04-01 12:14:21 -04003# Copyright 2022-2024 Open Networking Foundation Contributors
Joey Armstrong88fca722024-01-31 22:52:17 -05004#
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 Armstrong88fca722024-01-31 22:52:17 -050010#
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 Armstrong88fca722024-01-31 22:52:17 -050022
23$(if $(DEBUG),$(warning ENTER))
24
25## -----------------------------------------------------------------------
26## Intent: Display topic help
27## -----------------------------------------------------------------------
28help-summary ::
29 @printf ' %-30s %s\n' 'lint-robot'\
30 'Style check ReStructed Text (rst) documents'
31 @printf ' %-30s %s\n' 'lint-robot-help'\
32 'Show verbose target help'
33 ifdef VERBOSE
34 @$(MAKE) --no-print-directory lint-robot-help
35 endif
36
37## -----------------------------------------------------------------------
38## Intent: Display extended topic help
39## -----------------------------------------------------------------------
40.PHONY: lint-robot-help
41lint-robot-help ::
42 @printf ' %-30s %s\n' 'lint-robot-all'\
43 'Robot check available sources'
44 @printf ' %-30s %s\n' 'lint-robot-mod'\
45 'Robot check locally modified files (git status)'
46 @printf ' %-30s %s\n' 'lint-robot-src'\
47 'Robot check a list of files passed in'
48
49 @printf ' %-30s %s\n' 'lint-robot-install'\
50 'Install robot lint command rflint'
51
52 @printf ' %-30s %s\n' 'rflint-cmd-help'\
53 'Display rflint command usage'
54
55
56$(if $(DEBUG),$(warning LEAVE))
57
58# [EOF]