aboutsummaryrefslogtreecommitdiff
path: root/gtk-doc.make
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-13 14:40:24 -0500
committerTed Gould <ted@gould.cx>2010-08-13 14:40:24 -0500
commit61fbb6f60f5da6368d486b2652e3943407569516 (patch)
tree00bb893f4d6de65dd1a23d2efaeb2b87a81abae1 /gtk-doc.make
parent45fc7d96061fda667fe12ee1b00d869e6373d4d5 (diff)
parent2368f530f2ada528bdfee8922088e7f836441d77 (diff)
downloadlibayatana-appindicator-61fbb6f60f5da6368d486b2652e3943407569516.tar.gz
libayatana-appindicator-61fbb6f60f5da6368d486b2652e3943407569516.tar.bz2
libayatana-appindicator-61fbb6f60f5da6368d486b2652e3943407569516.zip
* Making it so the approver actually approves indicators
* New upstream release. * Add in ordering IDs * Adding label support into the library * Adding label support into the indicator * Breaking the ABI in order to get more space in the class structure. * Allow the icon theme path to be changed dynamically (LP: #607831) * debian/control: Moving libappindicator0 to libappindicator1 * debian/rules: Moving libappindicator0 to libappindicator1 * Rebuild with the new gobject introspection
Diffstat (limited to 'gtk-doc.make')
-rw-r--r--gtk-doc.make14
1 files changed, 10 insertions, 4 deletions
diff --git a/gtk-doc.make b/gtk-doc.make
index 63adaed..57fab98 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -75,8 +75,11 @@ $(REPORT_FILES): sgml-build.stamp
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
@echo 'gtk-doc: Scanning header files'
@-chmod -R u+w $(srcdir)
- @cd $(srcdir) && \
- gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
+ @_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
+ _source_dir="$${_source_dir} --source-dir=$$i" ; \
+ done ; \
+ cd $(srcdir) && \
+ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
@if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
else \
@@ -109,8 +112,11 @@ $(srcdir)/tmpl/*.sgml:
sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
@echo 'gtk-doc: Building XML'
@-chmod -R u+w $(srcdir)
- @cd $(srcdir) && \
- gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
+ @_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
+ _source_dir="$${_source_dir} --source-dir=$$i" ; \
+ done ; \
+ cd $(srcdir) && \
+ 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)
@touch sgml-build.stamp
sgml.stamp: sgml-build.stamp