1# This file is part of MATE Utils. 2# 3# MATE Utils is free software: you can redistribute it and/or modify 4# it under the terms of the GNU General Public License as published by 5# the Free Software Foundation, either version 2 of the License, or 6# (at your option) any later version. 7# 8# MATE Utils is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of 10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11# GNU General Public License for more details. 12# 13# You should have received a copy of the GNU General Public License 14# along with MATE Utils. If not, see <https://www.gnu.org/licenses/>. 15 16## Process this file with automake to produce Makefile.in 17 18AUTOMAKE_OPTIONS = 1.6 19 20# The name of the module, e.g. 'glib'. 21DOC_MODULE=mate-dict 22 23# The top-level SGML file. Change it if you want. 24DOC_MAIN_SGML_FILE=gdict-docs.sgml 25 26# The directory containing the source code. Relative to $(srcdir). 27# gtk-doc will search all .c & .h files beneath here for inline comments 28# documenting functions and macros. 29DOC_SOURCE_DIR=../../../libgdict 30 31# Extra options to supply to gtkdoc-scan. 32SCAN_OPTIONS= 33 34# Extra options to pass to gtkdoc-scangobj 35SCANGOBJ_OPTIONS=--type-init-func="g_type_init()" 36 37# Extra options to supply to gtkdoc-mkdb. 38MKDB_OPTIONS=--sgml-mode --output-format=xml 39 40# Extra options to supply to gtkdoc-fixref. 41FIXXREF_OPTIONS= 42 43# Used for dependencies. 44HFILE_GLOB=$(top_srcdir)/mate-dictionary/libgdict/*.h 45CFILE_GLOB=$(top_srcdir)/mate-dictionary/libgdict/*.c 46 47# Header files to ignore when scanning. 48IGNORE_HFILES = \ 49 gdict-enum-types.h \ 50 gdict-marshal.h \ 51 gdict-context-private.h \ 52 gdict-debug.h \ 53 gdict-private.h \ 54 stamp-gdict-enum-types.h \ 55 stamp-gdict-marshal.h 56 57# Images to copy into HTML directory. 58HTML_IMAGES = 59 60# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). 61content_files = version.xml 62 63# Other files to distribute. 64extra_files = 65 66# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib 67# contains GtkObjects/GObjects and you want to document signals and properties. 68GTKDOC_CFLAGS = \ 69 $(CFLAGS) \ 70 $(CPPFLAGS) \ 71 $(LIBGDICT_CFLAGS) \ 72 -I$(srcdir)/../../../libgdict \ 73 -I$(top_builddir)/mate-dictionary/libgdict 74 75GTKDOC_LIBS = \ 76 $(LDFLAGS) \ 77 $(LIBGDICT_LIBS) \ 78 ../../../libgdict/libmatedict.la 79 80include $(top_srcdir)/gtk-doc.make 81 82DISTCLEANFILES = $(DOC_MODULE).actions 83 84# Other files to distribute 85# e.g. EXTRA_DIST += version.xml.in 86EXTRA_DIST += version.xml.in 87 88#dist-hook-local: 89# mkdir $(distdir)/TEXT; \ 90# for f in $(srcdir)/TEXT/* ; do \ 91# test -f $$f && cp -p $$f $(distdir)/TEXT; \ 92# done 93 94-include $(top_srcdir)/git.mk 95