~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to gtk-doc.make

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-03-12 15:39:17 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070312153917-u4efw149urh2enej
Tags: 2.18.0-0ubuntu1
* New upstream release:
  - Code cleanups
  - Build fix
  - Updated translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
54
54
        @echo 'gtk-doc: Scanning header files'
55
55
        @-chmod -R u+w $(srcdir)
 
56
        cd $(srcdir) && \
 
57
          gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
56
58
        if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
57
59
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
58
60
        else \
61
63
               test -f $$i || touch $$i ; \
62
64
            done \
63
65
        fi
64
 
        cd $(srcdir) && \
65
 
          gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
66
66
        touch scan-build.stamp
67
67
 
68
 
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
 
68
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
69
69
        @true
70
70
 
71
71
#### templates ####
147
147
        mkdir $(distdir)/html
148
148
        -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
149
149
        -cp $(srcdir)/xml/*.xml $(distdir)/xml
150
 
        -cp $(srcdir)/html/* $(distdir)/html
 
150
        cp $(srcdir)/html/* $(distdir)/html
151
151
        if test -f $(srcdir)/$(DOC_MODULE).types; then \
152
152
          cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \
153
153
        fi