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