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