blob: 65bf3fa43f0e409e0d30e9f2a3c793e678477a1a [file] [log] [blame]
Joey Armstrongf548adc2023-09-08 15:59:42 -04001# -*- 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 Armstrongad7bd3f2023-10-02 16:55:59 -040023lint-doc8-excl-raw += '*/.git'
Joey Armstrongf548adc2023-09-08 15:59:42 -040024lint-doc8-excl-raw += '$(venv-name)'
25lint-doc8-excl-raw += '*/$(venv-name)'
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040026
27# Should we filter generated content as redundant ?
28# Considering _build will be published and consumed.
Joey Armstrongf548adc2023-09-08 15:59:42 -040029$(if $(BUILDDIR),\
30 $(excl lint-doc8-excl-raw += '$(BUILDDIR)'))
31
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040032# -----------------------------------------------------------------------
Joey Armstrongf548adc2023-09-08 15:59:42 -040033# 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 Armstrongad7bd3f2023-10-02 16:55:59 -040038# -----------------------------------------------------------------------
39lint-doc8-excl-raw += '*/venv_*'# # '*/venv_cord'
40lint-doc8-excl-raw += '*/*_cord'# # '*/vst_venv'
Joey Armstrongf548adc2023-09-08 15:59:42 -040041
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040042## -----------------------------------------------------------------------
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 Armstrongf548adc2023-09-08 15:59:42 -040048lint-doc8-excl-raw += './cord-tester'
49lint-doc8-excl-raw += './repos/cord-tester'
50
51lint-doc8-excl-raw += './bbsim/internal/bbsim/responders/sadis/dp.txt'
52lint-doc8-excl-raw += './repos/bbsim/internal/bbsim/responders/sadis/dp.txt'
53lint-doc8-excl-raw += './repos/voltha-helm-charts/voltha-infra/templates/NOTES.txt'
54lint-doc8-excl-raw += './voltha-helm-charts/voltha-infra/templates/NOTES.txt'
55
56$(if $(DEBUG),$(warning LEAVE))
57
58# [EOF]