Joey Armstrong | 88fca72 | 2024-01-31 22:52:17 -0500 | [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 | 88fca72 | 2024-01-31 22:52:17 -0500 | [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 | 88fca72 | 2024-01-31 22:52:17 -0500 | [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 | 88fca72 | 2024-01-31 22:52:17 -0500 | [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-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 |
| 41 | lint-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] |