blob: a4198fcd8b765b2dfacf87931b19c12ced16538f [file] [log] [blame]
Joey Armstrongf548adc2023-09-08 15:59:42 -04001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrongdc04c932024-04-01 12:14:21 -04003# Copyright 2017-2024 Open Networking Foundation Contributors
Joey Armstrongf548adc2023-09-08 15:59:42 -04004#
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 Armstrongdc04c932024-04-01 12:14:21 -04009# http:#www.apache.org/licenses/LICENSE-2.0
Joey Armstrongf548adc2023-09-08 15:59:42 -040010#
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 Armstrongdc04c932024-04-01 12:14:21 -040017# SPDX-FileCopyrightText: 2017-2024 Open Networking Foundation Contributors
18# SPDX-License-Identifier: Apache-2.0
19# -----------------------------------------------------------------------
20# Intent:
21# -----------------------------------------------------------------------
Joey Armstrongf548adc2023-09-08 15:59:42 -040022
23$(if $(DEBUG),$(warning ENTER))
24
25## -----------------------------------------------------------------------
26## -----------------------------------------------------------------------
27
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040028lint-doc8-excl-raw += '*/.git'
Joey Armstrongf548adc2023-09-08 15:59:42 -040029lint-doc8-excl-raw += '$(venv-name)'
30lint-doc8-excl-raw += '*/$(venv-name)'
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040031
32# Should we filter generated content as redundant ?
33# Considering _build will be published and consumed.
Joey Armstrongf548adc2023-09-08 15:59:42 -040034$(if $(BUILDDIR),\
35 $(excl lint-doc8-excl-raw += '$(BUILDDIR)'))
36
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040037# -----------------------------------------------------------------------
Joey Armstrongf548adc2023-09-08 15:59:42 -040038# YUCK! -- overhead
39# o Submodule(s) use individual/variant virtualenv install paths.
40# o Exclude special snowflakes to enable library makefile use.
41# o All can use virtualenv.mk for consistent names and cleanup
42# o [TODO] Ignore submodules, individual repos should check their sources.
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040043# -----------------------------------------------------------------------
44lint-doc8-excl-raw += '*/venv_*'# # '*/venv_cord'
45lint-doc8-excl-raw += '*/*_cord'# # '*/vst_venv'
Joey Armstrongf548adc2023-09-08 15:59:42 -040046
Joey Armstrongad7bd3f2023-10-02 16:55:59 -040047## -----------------------------------------------------------------------
48## repo:voltha-docs exclusions
49## Migrate into one of:
50## makefiles/local/lint/doc8/doc8.ini
51## makefiles/local/lint/doc8/excl.mk
52## -----------------------------------------------------------------------
Joey Armstrongf548adc2023-09-08 15:59:42 -040053lint-doc8-excl-raw += './cord-tester'
54lint-doc8-excl-raw += './repos/cord-tester'
55
56lint-doc8-excl-raw += './bbsim/internal/bbsim/responders/sadis/dp.txt'
57lint-doc8-excl-raw += './repos/bbsim/internal/bbsim/responders/sadis/dp.txt'
58lint-doc8-excl-raw += './repos/voltha-helm-charts/voltha-infra/templates/NOTES.txt'
59lint-doc8-excl-raw += './voltha-helm-charts/voltha-infra/templates/NOTES.txt'
60
61$(if $(DEBUG),$(warning LEAVE))
62
63# [EOF]