Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 1 | # -*- makefile -*- |
| 2 | # ----------------------------------------------------------------------- |
Joey Armstrong | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 3 | # Copyright 2017-2024 Open Networking Foundation Contributors |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -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 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 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 | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 17 | # SPDX-FileCopyrightText: 2017-2024 Open Networking Foundation Contributors |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | # ----------------------------------------------------------------------- |
| 20 | # Intent: This makefile maintains file and directory exclusion lists |
| 21 | # for doc8 linting. |
| 22 | # ----------------------------------------------------------------------- |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 23 | |
| 24 | $(if $(DEBUG),$(warning ENTER)) |
| 25 | |
| 26 | ## ----------------------------------------------------------------------- |
| 27 | ## ----------------------------------------------------------------------- |
| 28 | |
Joey Armstrong | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 29 | lint-doc8-excl-raw += '*/.git' |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 30 | lint-doc8-excl-raw += '$(venv-name)' |
| 31 | lint-doc8-excl-raw += '*/$(venv-name)' |
Joey Armstrong | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 32 | lint-doc8-excl-raw += './lf/onf-make' |
| 33 | lint-doc8-excl-raw += 'LICENSES/' |
| 34 | |
| 35 | # Should we filter generated content as redundant ? |
| 36 | # Considering _build will be published and consumed. |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 37 | $(if $(BUILDDIR),\ |
| 38 | $(excl lint-doc8-excl-raw += '$(BUILDDIR)')) |
| 39 | |
Joey Armstrong | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 40 | # ----------------------------------------------------------------------- |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 41 | # YUCK! -- overhead |
| 42 | # o Submodule(s) use individual/variant virtualenv install paths. |
| 43 | # o Exclude special snowflakes to enable library makefile use. |
| 44 | # o All can use virtualenv.mk for consistent names and cleanup |
| 45 | # o [TODO] Ignore submodules, individual repos should check their sources. |
Joey Armstrong | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 46 | # ----------------------------------------------------------------------- |
| 47 | lint-doc8-excl-raw += '*/venv_*'# # '*/venv_cord' |
| 48 | lint-doc8-excl-raw += '*/*_venv'# # '*/vst_venv' |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 49 | |
Joey Armstrong | 30bfd39 | 2024-04-10 16:10:06 -0400 | [diff] [blame^] | 50 | ## ----------------------------------------------------------------------- |
| 51 | ## repo:voltha-docs exclusions |
| 52 | ## Migrate into one of: |
| 53 | ## makefiles/local/lint/doc8/doc8.ini |
| 54 | ## makefiles/local/lint/doc8/excl.mk |
| 55 | ## ----------------------------------------------------------------------- |
Joey Armstrong | 96bcf1b | 2023-06-27 14:49:40 -0400 | [diff] [blame] | 56 | lint-doc8-excl-raw += './cord-tester' |
| 57 | lint-doc8-excl-raw += './repos/cord-tester' |
| 58 | |
| 59 | lint-doc8-excl-raw += './bbsim/internal/bbsim/responders/sadis/dp.txt' |
| 60 | lint-doc8-excl-raw += './repos/bbsim/internal/bbsim/responders/sadis/dp.txt' |
| 61 | lint-doc8-excl-raw += './repos/voltha-helm-charts/voltha-infra/templates/NOTES.txt' |
| 62 | lint-doc8-excl-raw += './voltha-helm-charts/voltha-infra/templates/NOTES.txt' |
| 63 | |
| 64 | $(if $(DEBUG),$(warning LEAVE)) |
| 65 | |
| 66 | # [EOF] |