~ubuntu-branches/ubuntu/oneiric/dbus-glib/oneiric-updates

« back to all changes in this revision

Viewing changes to gtk-doc.make

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2008-12-05 17:00:55 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20081205170055-zsytgcc2u1129tmy
Tags: 0.78-1
* New upstream release
  - Update symbols file and shlibs for new ABI
* Add ${misc:Depends} to all binary packages as recommended by lintian

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
####################################
6
6
 
7
7
if GTK_DOC_USE_LIBTOOL
8
 
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
9
 
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
 
8
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
9
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
10
10
else
11
 
GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
12
 
GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
 
11
GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
12
GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
13
13
endif
14
14
 
15
15
# We set GPATH here; this gives us semantics for GNU make
128
128
        cd $(srcdir) && rm -rf xml html
129
129
 
130
130
install-data-local:
131
 
        installfiles=`echo $(srcdir)/html/*`; \
 
131
        -installfiles=`echo $(srcdir)/html/*`; \
132
132
        if test "$$installfiles" = '$(srcdir)/html/*'; \
133
133
        then echo '-- Nothing to install' ; \
134
134
        else \
139
139
          done; \
140
140
          echo '-- Installing $(srcdir)/html/index.sgml' ; \
141
141
          $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
142
 
          (which gtkdoc-rebase >& /dev/null && \
143
 
            gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR)) || : ; \
 
142
          which gtkdoc-rebase >/dev/null && \
 
143
            gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
144
144
        fi
145
145
        
146
146
 
165
165
        -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
166
166
        -cp $(srcdir)/xml/*.xml $(distdir)/xml
167
167
        cp $(srcdir)/html/* $(distdir)/html
168
 
        cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
169
 
        cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
 
168
        -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
 
169
        -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
170
170
        cd $(distdir) && rm -f $(DISTCLEANFILES)
171
171
        -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
172
172