summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2018-09-11 21:42:33 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-09-18 15:49:29 +0200
commit8260f4f98cfea2de16e0ba4bfc8e2d530c67607f (patch)
tree4b9cd7916982ec36ad7effd9866005e41e049304 /mk
parent77a5e7cdb27b987ccc3a72be275d4cee1ba86fdb (diff)
downloaddpdk-8260f4f98cfea2de16e0ba4bfc8e2d530c67607f.zip
dpdk-8260f4f98cfea2de16e0ba4bfc8e2d530c67607f.tar.gz
dpdk-8260f4f98cfea2de16e0ba4bfc8e2d530c67607f.tar.xz
mk: use script to generate examples.dox
This will make it possible to generate the file in the same way from Meson as well. Signed-off-by: Luca Boccassi <bluca@debian.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.sdkdoc.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk
index bd2e576..d023b72 100644
--- a/mk/rte.sdkdoc.mk
+++ b/mk/rte.sdkdoc.mk
@@ -63,10 +63,7 @@ api-html-clean:
$(API_EXAMPLES): api-html-clean
$(Q)mkdir -p $(@D)
- @printf '/**\n' > $(API_EXAMPLES)
- @printf '@page examples DPDK Example Programs\n\n' >> $(API_EXAMPLES)
- @find examples -type f -name '*.c' -printf '@example %p\n' | LC_ALL=C sort >> $(API_EXAMPLES)
- @printf '*/\n' >> $(API_EXAMPLES)
+ $(Q)doc/api/generate_examples.sh examples $(API_EXAMPLES)
guides-pdf-clean: guides-pdf-img-clean
guides-pdf-img-clean: