~swem/totem/assignment

« back to all changes in this revision

Viewing changes to gtk-doc.make

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl, Sebastien Bacher, Josselin Mouette, Michael Biebl
  • Date: 2011-06-10 00:36:38 UTC
  • mfrom: (1.4.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20110610003638-vnc19ldjqjt02w8w
Tags: 3.0.1-1
[ Sebastien Bacher ]
* New upstream version
* debian/control.in:
  - don't Build-Depends on xulrunner-dev
  - let libtotem0 Replaces totem (<< 3.0.1-1), it's not required for Debian
    but is not an issue either and will lower the delta with Ubuntu
  - update Standards-Version to 3.9.2
* debian/totem-common.install:
  - install the thumbnailers directory there
    Closes: #629536.
* debian/totem.preinst: clean it now that squeeze is out

[ Josselin Mouette ]
* Add libtotem-dev. Closes: #561934.

[ Michael Biebl ]
* debian/watch: Switch to .bz2 tarball.
* Bump debhelper compatibility level to 8.
  - Update Build-Depends on debhelper.
  - Strip leading debian/tmp/ from .install files.
* debian/totem-plugins.install
  - Install tracker and gromit plugin.
* debian/control.in
  - Remove obsolete Build-Depends on dpkg-dev (>= 1.13.19).
* debian/libtotem-dev.install
  - Install libtotem.so symlink.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
25
25
 
26
 
SETUP_FILES = \
 
26
EXTRA_DIST =                            \
27
27
        $(content_files)                \
 
28
        $(HTML_IMAGES)                  \
28
29
        $(DOC_MAIN_SGML_FILE)           \
29
30
        $(DOC_MODULE)-sections.txt      \
30
31
        $(DOC_MODULE)-overrides.txt
31
32
 
32
 
EXTRA_DIST =                            \
33
 
        $(SETUP_FILES)
34
 
 
35
33
DOC_STAMPS=setup-build.stamp scan-build.stamp sgml-build.stamp \
36
34
        html-build.stamp pdf-build.stamp \
37
35
        setup.stamp sgml.stamp html.stamp pdf.stamp
73
71
 
74
72
#### setup ####
75
73
 
76
 
setup-build.stamp:
 
74
setup-build.stamp::
77
75
        -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
78
 
           echo 'gtk-doc: Preparing build'; \
79
 
           files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
80
 
           if test "x$$files" != "x" ; then \
81
 
               for file in $$files ; do \
 
76
           cp -a $(abs_srcdir)/$(DOC_MAIN_SGML_FILE) $(abs_builddir)/; \
 
77
           cp -a $(abs_srcdir)/$(DOC_MODULE)* $(abs_builddir)/; \
 
78
           if test "x$(content_files) $(expand_content_files)" != "x" ; then \
 
79
               for file in $(content_files) $(expand_content_files) ; do \
82
80
                   test -f $(abs_srcdir)/$$file && \
83
 
                       cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
 
81
                       cp -a $(abs_srcdir)/$$file $(abs_builddir)/; \
84
82
               done \
85
83
           fi \
86
84
        fi
87
 
        @touch setup-build.stamp
88
85
 
89
86
 
90
87
setup.stamp: setup-build.stamp
114
111
 
115
112
#### xml ####
116
113
 
117
 
sgml-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
 
114
sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
118
115
        @echo 'gtk-doc: Building XML'
119
116
        @_source_dir='' ; \
120
117
        for i in $(DOC_SOURCE_DIR) ; do \
121
118
            _source_dir="$${_source_dir} --source-dir=$$i" ; \
122
119
        done ; \
123
 
        gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
 
120
        gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)  
124
121
        @touch sgml-build.stamp
125
122
 
126
123
sgml.stamp: sgml-build.stamp
138
135
          mkhtml_options=--path="$(abs_srcdir)"; \
139
136
        fi; \
140
137
        cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
141
 
        -@test "x$(HTML_IMAGES)" = "x" || \
142
 
        for file in $(HTML_IMAGES) ; do \
143
 
          if test -f $(abs_srcdir)/$$file ; then \
144
 
            cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
145
 
          fi; \
146
 
          if test -f $(abs_builddir)/$$file ; then \
147
 
            cp $(abs_builddir)/$$file $(abs_builddir)/html; \
148
 
          fi; \
149
 
        done;
 
138
        @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) $(abs_builddir)/html )
150
139
        @echo 'gtk-doc: Fixing cross-references'
151
140
        @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
152
141
        @touch html-build.stamp
179
168
        rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
180
169
            $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
181
170
        if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
182
 
            rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
 
171
            rm -f $(DOC_MAIN_SGML_FILE) $(DOC_MODULE)*; \
183
172
        fi
184
173
 
185
174
maintainer-clean-local: clean
186
 
        rm -rf xml html
 
175
        rm -rf html
187
176
 
188
177
install-data-local:
189
178
        @installfiles=`echo $(builddir)/html/*`; \