~ubuntu-branches/ubuntu/natty/pangomm/natty

« back to all changes in this revision

Viewing changes to docs/reference/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Deng Xiyue
  • Date: 2009-04-03 00:35:01 UTC
  • mfrom: (5.1.2 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090403003501-y05hsap2s021a2rr
Tags: 2.24.0-2
* Upload to unstable.
  + Drop check-dist.mk.
  + Track unstable branch in Vcs-*.
* Change -dbg package to section debug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SUBDIRS = images
2
 
 
3
1
doxygen_configfile = Doxyfile
4
2
doxygen_configfile_source = $(srcdir)/Doxyfile.in
5
3
beautify_docs = @GMMPROC_DIR@/beautify_docs.pl
6
 
devhelp_file = pangomm-1.4.devhelp
 
4
devhelp_file = $(srcdir)/pangomm-1.4.devhelp
7
5
devhelp_stylesheet = doxygen_to_devhelp.xsl
8
6
 
9
7
include $(top_srcdir)/docs/Makefile_web.am_fragment
17
15
             $(hierarchy_files) \
18
16
             xml/index.xml #Just to satisfy the dependency when building from the tarball.
19
17
 
20
 
STOCK_DIR=images/stock
21
 
 
22
18
# The html is generated by doxygen. We generate xml also, but we are not distributing it yet.
23
19
# The installdox thing is part of doxygen - it fixes the URLs to point to the glibmm reference docs.
24
20
# beautify_docs moves the * and & next to the C++ types rather than the parameter names.
25
 
html/index.html: $(doxygen_configfile_source) $(STOCK_DIR)
 
21
html/index.html: $(doxygen_configfile_source)
26
22
        -rm -rf html
27
 
        image_path=""; \
28
 
        for subdir in $(STOCK_DIR)/* ; do \
29
 
                test -d "$$subdir" && image_path="$$image_path $$subdir"; \
30
 
        done; \
31
 
        DOXYGEN_IMAGE_PATH="$${DOXYGEN_IMAGE_PATH:=$$image_path}" doxygen $(doxygen_configfile) \
 
23
        doxygen $(doxygen_configfile) \
32
24
        2> doxygen-warnings.txt | tee doxygen-output.txt && cat doxygen-warnings.txt
33
25
        cd html && ./installdox -l glibmm_doxygen_tags@../../../../glibmm-2.4/docs/reference/html \
34
26
        2>> doxygen-warnings.txt | tee -a doxygen-output.txt && cd ..
40
32
 
41
33
# DevHelp reference
42
34
$(devhelp_file): xml/index.xml $(devhelp_stylesheet)
43
 
        xsltproc -o $@ $(devhelp_stylesheet) xml/index.xml
 
35
        xsltproc -o $@ $(srcdir)/$(devhelp_stylesheet) xml/index.xml
44
36
 
45
37
pangomm-reference-html.tar.gz: $(hierarchy_files) html/index.html
46
38
        tar cf - html | gzip -c --best >$@
76
68
          $(INSTALL_DATA) $$p $(DESTDIR)$(referencedir)/$$f; \
77
69
        done
78
70
        $(mkinstalldirs) $(DESTDIR)$(devhelpdir)
79
 
        $(INSTALL_DATA) $(srcdir)/$(devhelp_file) $(DESTDIR)$(devhelpdir)/$$f;
 
71
        $(INSTALL_DATA) $(devhelp_file) $(DESTDIR)$(devhelpdir)/$$f;
80
72
        $(INSTALL_DATA) $(srcdir)/widget_hierarchy.png $(DESTDIR)$(referencetopdir)/$$f;
81
73
        $(INSTALL_DATA) $(srcdir)/widget_hierarchy.html $(DESTDIR)$(referencetopdir)/$$f;
82
74