summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-05-25 22:24:15 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-05-25 22:24:15 +0900
commitc4b5f665bedd1816e2849d899b7d08061f8496cf (patch)
treec23a33ca3d8c46315efa1104968b0a6c2d2e939d /doc/Makefile
parent507587f88ee33e78de3746234062ebe8d8cf7a1d (diff)
downloadbuildstream-c4b5f665bedd1816e2849d899b7d08061f8496cf.tar.gz
Docs Makefile: Dont generate plugin skeletons for __init__.py
Now that the sources and plugins directories have an __init__.py in them, they appear in the documentation module index, just dont generate any rst templates for them anymore.
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile b/doc/Makefile
index 7d3b3d789..0599a21ed 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -48,7 +48,7 @@ all: docs
# from plugin documentation.
#
define plugin-doc-skeleton
- @for file in $$(find ${1} -name "*.py"); do \
+ @for file in $$(find ${1} -name "*.py" ! -name "__init__.py"); do \
base=$$(basename $$file); \
module=${2}.$${base%.py}; \
modname=$${base%.py}; \