doc: Add .cpp files to doc parser
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 20 Jun 2016 20:30:19 +0000 (16:30 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 21 Jun 2016 17:46:00 +0000 (13:46 -0400)
Also, complete the list of directory that need to be visited.

docs/plugins/Makefile.am

index 1806fbb..ca53eba 100644 (file)
@@ -25,7 +25,7 @@ DOC_SOURCE_DIR = $(top_srcdir)/gst $(top_srcdir)/ext $(top_srcdir)/sys
 SCAN_OPTIONS=
 
 # Extra options to supply to gtkdoc-mkdb.
-MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc,m
+MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc,cpp,m
 
 # Extra options to supply to gtkdoc-fixref.
 FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
@@ -38,7 +38,8 @@ HFILE_GLOB= \
   $(top_srcdir)/ext/*/*.hh
 CFILE_GLOB= \
   $(top_srcdir)/gst/*/*.c $(top_srcdir)/ext/*/*.c $(top_srcdir)/sys/*/*.c \
-  $(top_srcdir)/ext/*/*.cc $(top_srcdir)/sys/*/*.m
+  $(top_srcdir)/ext/*/*.cc $(top_srcdir)/ext/*/*.cpp  $(top_srcdir)/sys/*/*.cpp \
+  $(top_srcdir)/ext/*/*.m $(top_srcdir)/sys/*/*.m
 
 # Header files to ignore when scanning.
 IGNORE_HFILES =