Debian Codegraph @

doc/generate-docs.mk

raw symbols SCIP
1 # guile-gnome
2 # Copyright (C) 2007, 2011 Free Software Foundation, Inc.
3
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License as
6 # published by the Free Software Foundation; either version 3 of
7 # the License, or (at your option) any later version.
8
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, see <http://www.gnu.org/licenses/>.
16
17
18 #
19 # Makefile snippet
20 #
21
22 wrapset_module = "(gnome gw $(wrapset_stem)-spec)"
23 wrapset_name = "gnome-$(wrapset_stem)"
24 GTK_DOC_TO_TEXI_STUBS = '((@ (gnome gw support gtk-doc) gtk-doc->texi-stubs) (cdr (program-arguments)))'
25 GTK_DOC_DEFUN_HEURISTICS_METHOD = heuristics
26 GTK_DOC_DEFUN_HEURISTICS_ARGS = (your-module-here)
27 GTK_DOC_DEFUN_GWRAP_METHOD = g-wrap
28 GTK_DOC_DEFUN_GWRAP_ARGS = $(wrapset_module) $(wrapset_name)
29 GTK_DOC_DEFUN_METHOD = $(GTK_DOC_DEFUN_HEURISTICS_METHOD)
30 GTK_DOC_DEFUN_ARGS = $(GTK_DOC_DEFUN_HEURISTICS_ARGS)
31 GTK_DOC_TO_TEXI_DEFUNS = "(apply (@ (gnome gw support gtk-doc) gtk-doc->texi-defuns) (cadr (program-arguments)) '$(GTK_DOC_DEFUN_METHOD) '($(GTK_DOC_DEFUN_ARGS)) (cddr (program-arguments)))"
32 GUILE = $(top_builddir)/dev-environ guile
33
34 generate-stubs:
35 $(GUILE) $(GUILE_FLAGS) -c $(GTK_DOC_TO_TEXI_STUBS) $(docbook_xml_files)
36
37 generate-defuns:
38 $(GUILE) $(GUILE_FLAGS) -c $(GTK_DOC_TO_TEXI_DEFUNS) ./overrides.texi $(docbook_xml_files)