Merge lp:~mterry/libunity-misc/inline into lp:libunity-misc

Proposed by Michael Terry
Status: Merged
Approved by: Michael Terry
Approved revision: 34
Merged at revision: 34
Proposed branch: lp:~mterry/libunity-misc/inline
Merge into: lp:libunity-misc
Diff against target: 603 lines (+273/-265)
12 files modified
autogen.sh (+1/-1)
debian/changelog (+82/-0)
debian/compat (+1/-0)
debian/control (+50/-0)
debian/copyright (+75/-0)
debian/libunity-misc-dev.install (+3/-0)
debian/libunity-misc-doc.install (+1/-0)
debian/libunity-misc4.install (+1/-0)
debian/libunity-misc4.symbols (+40/-0)
debian/rules (+17/-0)
debian/watch (+2/-0)
gtk-doc.make (+0/-264)
To merge this branch: bzr merge lp:~mterry/libunity-misc/inline
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
PS Jenkins bot continuous-integration Pending
Review via email: mp+139110@code.launchpad.net

Commit message

Bring debian/ packaging inline.

Description of the change

Brings the packaging inline.

Bootstrap and modernization will come in a future branch, to make it easier to review such changes.

To post a comment you must log in.
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Looking good to me, I can't wait for the future modernization branches coming :)

Please change the global status to approve once your lovely jenkins master is in sync.

review: Approve
Revision history for this message
Francis Ginther (fginther) wrote :

Jenkins autolanding job is ready. Approving.

Revision history for this message
Unity Merger (unity-merger) wrote :

There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.

Revision history for this message
Michael Terry (mterry) wrote :

Ack, whoops. I pushed some modernization to this branch accidentally. Will fix.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'autogen.sh'
2--- autogen.sh 2010-01-12 10:58:35 +0000
3+++ autogen.sh 2012-12-12 15:36:26 +0000
4@@ -1,6 +1,6 @@
5 #!/bin/sh
6
7-PKG_NAME="liblauncher"
8+PKG_NAME="libunity-misc"
9
10 which gnome-autogen.sh || {
11 echo "You need gnome-common from GNOME SVN"
12
13=== added directory 'debian'
14=== added file 'debian/changelog'
15--- debian/changelog 1970-01-01 00:00:00 +0000
16+++ debian/changelog 2012-12-12 15:36:26 +0000
17@@ -0,0 +1,82 @@
18+libunity-misc (4.0.4-0ubuntu2) oneiric; urgency=low
19+
20+ * Cherry-pick from upstream:
21+ - update-notifier systray icons showed and the wrong place and size
22+ (LP: #856125)
23+
24+ -- Didier Roche <didrocks@ubuntu.com> Thu, 29 Sep 2011 17:03:57 +0200
25+
26+libunity-misc (4.0.4-0ubuntu1) oneiric; urgency=low
27+
28+ * New upstream release.
29+ * debian/libunity-misc4.symbols:
30+ - add the new symbols
31+ * debian/control:
32+ - build-dep on libx11-dev
33+
34+ -- Didier Roche <didrocks@ubuntu.com> Mon, 01 Aug 2011 17:35:56 +0200
35+
36+libunity-misc (4.0.2-0ubuntu1) oneiric; urgency=low
37+
38+ * New upstream release.
39+ * debian/control:
40+ - build-dep now on libgtk-3-dev
41+ * debian/libunity-misc4.install, debian/libunity-misc4.symbols,
42+ debian/control:
43+ - bump and adapt new symbols to new soname for gtk3
44+
45+ -- Didier Roche <didrocks@ubuntu.com> Tue, 21 Jun 2011 19:43:58 +0200
46+
47+libunity-misc (0.2.1-0ubuntu2) natty; urgency=low
48+
49+ * cherry-pick:
50+ - the .pc file shouldn't depend on clutter anymore
51+
52+ -- Didier Roche <didrocks@ubuntu.com> Thu, 17 Feb 2011 19:55:25 +0100
53+
54+libunity-misc (0.2.1-0ubuntu1) natty; urgency=low
55+
56+ * New upstream release:
57+ - readd systray support to unity (LP: #596879)
58+ * debian/control:
59+ - don't build with clutter anymore
60+ - remove -dbg package
61+ - don't dep on gtk-doc
62+ - add libgtk2.0-dev build-dep
63+ * debian/rules:
64+ - don't build the documentation
65+ - remove uneeded DEB_DH_MAKESHLIBS_ARGS
66+ * debian/libunity-misc0.symbols:
67+ - updated
68+
69+ -- Didier Roche <didrocks@ubuntu.com> Thu, 17 Feb 2011 19:04:43 +0100
70+
71+libunity-misc (0.1.1-0ubuntu3) natty; urgency=low
72+
73+ * debian/control:
74+ - change the description
75+ * debian/libunity-misc0.symbols:
76+ - add symbol file (LP: #591158)
77+
78+ -- Didier Roche <didrocks@ubuntu.com> Tue, 03 Aug 2010 13:07:44 +0200
79+
80+libunity-misc (0.1.1-0ubuntu1) maverick; urgency=low
81+
82+ * New upstream release
83+ * Fix debian/copyright
84+ * debian/rules:
85+ - fix rm *{,l}a files
86+ - fix LDFLAGS syntax
87+ * debian/control:
88+ - bump Standards-Version
89+ - fix homepage
90+ - remove uneeded build-dep
91+ * added debian/watch
92+
93+ -- Didier Roche <didrocks@ubuntu.com> Thu, 03 Jun 2010 19:19:11 +0200
94+
95+libunity-misc (0.1.0-0ubuntu1~ppa1) lucid; urgency=low
96+
97+ * Initial release
98+
99+ -- Didier Roche <didrocks@ubuntu.com> Thu, 28 Jan 2010 22:04:01 +0100
100
101=== added file 'debian/compat'
102--- debian/compat 1970-01-01 00:00:00 +0000
103+++ debian/compat 2012-12-12 15:36:26 +0000
104@@ -0,0 +1,1 @@
105+5
106
107=== added file 'debian/control'
108--- debian/control 1970-01-01 00:00:00 +0000
109+++ debian/control 2012-12-12 15:36:26 +0000
110@@ -0,0 +1,50 @@
111+Source: libunity-misc
112+Priority: optional
113+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
114+Build-Depends: debhelper (>= 5.0),
115+ cdbs (>= 0.4.41),
116+ dh-autoreconf,
117+ gnome-common,
118+ gtk-doc-tools,
119+ libgtk-3-dev (>= 3.0),
120+ libglib2.0-dev (>= 2.22.0),
121+ libx11-dev,
122+Standards-Version: 3.9.2
123+Section: libs
124+Homepage: https://launchpad.net/libunity-misc
125+# If you aren't a member of ~unity-team but need to upload packaging changes,
126+# just go ahead. ~unity-team will notice and sync up the code again.
127+Vcs-Bzr: https://code.launchpad.net/~unity-team/libunity/trunk
128+
129+Package: libunity-misc-dev
130+Section: libdevel
131+Architecture: any
132+Depends: libunity-misc4 (= ${binary:Version}), ${misc:Depends},
133+ libglib2.0-dev (>= 2.22.0),
134+Description: Miscellaneous functions for Unity - development files
135+ libunity-misc is a shared library that provides miscellaneous functions for
136+ Unity.
137+ .
138+ This package contains files that are needed to build applications.
139+
140+Package: libunity-misc4
141+Section: libs
142+Architecture: any
143+Depends: ${shlibs:Depends}, ${misc:Depends}
144+Description: Miscellaneous functions for Unity - shared library
145+ libunity-misc is a shared library that provides miscellaneous functions for
146+ Unity.
147+ .
148+ This package contains shared libraries to be used by application.
149+
150+Package: libunity-misc-doc
151+Architecture: all
152+Section: doc
153+Depends: ${misc:Depends}
154+Suggests: devhelp
155+Description: Miscellaneous functions for Unity - documentation
156+ libunity-misc is a shared library that provides miscellaneous functions for
157+ Unity.
158+ .
159+ This package contains the documentation.
160+
161
162=== added file 'debian/copyright'
163--- debian/copyright 1970-01-01 00:00:00 +0000
164+++ debian/copyright 2012-12-12 15:36:26 +0000
165@@ -0,0 +1,75 @@
166+This work was packaged for Ubuntu by:
167+
168+ Didier Roche <didrocks@ubuntu.com> on Fri, 15 Jan 2010 17:05:36 +0100
169+
170+It was downloaded from https://launchpad.net/libunity-misc
171+
172+Upstream Author(s):
173+
174+ Neil Jagdish Patel <neil.patel@canonical.com>
175+ Anders Carlsson <andersca@gnu.org>
176+ Vincent Untz
177+ Neil Jagdish Patel <neil.patel@canonical.com>
178+
179+Copyright:
180+
181+ Copyright (C) 2002 Anders Carlsson
182+ Copyright (C) 2003-2006 Vincent Untz
183+ Copyright (C) 2008 Red Hat, Inc.
184+ Copyright (C) 2009 Gnome Shell
185+ Copyright (C) 2010 Canonical, Ltd.
186+
187+License:
188+
189+ When not otherwise specified, the following license applies:
190+
191+ This library is free software; you can redistribute it and/or
192+ modify it under the terms of the GNU Lesser General Public
193+ License Version as published by the Free Software Foundation; either
194+ version 2 of the License, or (at your option) any later version.
195+
196+ This library is distributed in the hope that it will be useful,
197+ but WITHOUT ANY WARRANTY; without even the implied warranty of
198+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
199+ Lesser General Public License for more details.
200+
201+On Debian systems, the complete text of the GNU Lesser General Public License
202+can be found in `/usr/share/common-licenses/LGPL-2'
203+
204+ * unity-misc/unity-misc.h:
205+
206+ This library is free software; you can redistribute it and/or modify
207+ it under the terms of the GNU Lesser General Public License
208+ version 3.0 as published by the Free Software Foundation.
209+
210+ This library is distributed in the hope that it will be useful,
211+ but WITHOUT ANY WARRANTY; without even the implied warranty of
212+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
213+ GNU Lesser General Public License version 3.0 for more details.
214+
215+On Debian systems, the complete text of the GNU Lesser General Public License
216+can be found in `/usr/share/common-licenses/LGPL-3'
217+
218+ * unity-misc/unity-tray-manager.h,shell-embedded-window-private.h,
219+ unity-tray-manager.c,shell-embedded-window.c,shell-gtk-embed.h,
220+ shell-gtk-embed.c,shell-embedded-window.h:
221+
222+ This program is free software: you can redistribute it and/or modify it
223+ under the terms of the the GNU General Public License version 2, as
224+ published by the Free Software Foundation.
225+
226+ This program is distributed in the hope that it will be useful, but
227+ WITHOUT ANY WARRANTY; without even the implied warranties of
228+ MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
229+ PURPOSE. See the applicable version of the GNU Lesser General Public
230+ License for more details.
231+
232+On Debian systems, the complete text of the GNU General Public License
233+can be found in `/usr/share/common-licenses/GPL-2'
234+
235+
236+The Debian packaging is:
237+
238+ Copyright (C) 2010 Canonical Ltd.
239+
240+and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'.
241
242=== added file 'debian/libunity-misc-dev.install'
243--- debian/libunity-misc-dev.install 1970-01-01 00:00:00 +0000
244+++ debian/libunity-misc-dev.install 2012-12-12 15:36:26 +0000
245@@ -0,0 +1,3 @@
246+debian/tmp/usr/include/*
247+debian/tmp/usr/lib/lib*.so
248+debian/tmp/usr/lib/pkgconfig/*
249
250=== added file 'debian/libunity-misc-doc.install'
251--- debian/libunity-misc-doc.install 1970-01-01 00:00:00 +0000
252+++ debian/libunity-misc-doc.install 2012-12-12 15:36:26 +0000
253@@ -0,0 +1,1 @@
254+debian/tmp/usr/share/gtk-doc/
255
256=== added file 'debian/libunity-misc4.install'
257--- debian/libunity-misc4.install 1970-01-01 00:00:00 +0000
258+++ debian/libunity-misc4.install 2012-12-12 15:36:26 +0000
259@@ -0,0 +1,1 @@
260+debian/tmp/usr/lib/lib*.so.*
261
262=== added file 'debian/libunity-misc4.symbols'
263--- debian/libunity-misc4.symbols 1970-01-01 00:00:00 +0000
264+++ debian/libunity-misc4.symbols 2012-12-12 15:36:26 +0000
265@@ -0,0 +1,40 @@
266+libunity-misc.so.4 libunity-misc4 #MINVER#
267+ _na_marshal_VOID__OBJECT_LONG@Base 0.1.1
268+ _na_marshal_VOID__OBJECT_OBJECT@Base 0.1.1
269+ _na_marshal_VOID__OBJECT_STRING_LONG_LONG@Base 0.1.1
270+ get_current_slide@Base 4.0.4
271+ get_slide_timeout@Base 4.0.4
272+ na_fixed_tip_get_type@Base 0.2.1
273+ na_fixed_tip_new@Base 0.2.1
274+ na_fixed_tip_set_markup@Base 0.2.1
275+ na_fixed_tip_set_orientation@Base 0.2.1
276+ na_tray_child_force_redraw@Base 0.1.1
277+ na_tray_child_get_title@Base 0.1.1
278+ na_tray_child_get_type@Base 0.1.1
279+ na_tray_child_get_wm_class@Base 0.2.1
280+ na_tray_child_has_alpha@Base 0.1.1
281+ na_tray_child_new@Base 0.1.1
282+ na_tray_child_set_composited@Base 0.1.1
283+ na_tray_force_redraw@Base 0.2.1
284+ na_tray_get_manager@Base 0.2.1
285+ na_tray_get_orientation@Base 0.2.1
286+ na_tray_get_type@Base 0.2.1
287+ na_tray_manager_check_running@Base 0.1.1
288+ na_tray_manager_get_orientation@Base 0.1.1
289+ na_tray_manager_get_type@Base 0.1.1
290+ na_tray_manager_manage_screen@Base 0.1.1
291+ na_tray_manager_new@Base 0.1.1
292+ na_tray_manager_set_colors@Base 4.0.2
293+ na_tray_manager_set_icon_size@Base 4.0.2
294+ na_tray_manager_set_orientation@Base 0.1.1
295+ na_tray_manager_set_padding@Base 4.0.2
296+ na_tray_new_for_screen@Base 0.2.1
297+ na_tray_set_colors@Base 4.0.2
298+ na_tray_set_icon_size@Base 4.0.2
299+ na_tray_set_orientation@Base 0.2.1
300+ na_tray_set_padding@Base 4.0.2
301+ ordered_roles@Base 0.2.1
302+ read_slideshow_file@Base 4.0.4
303+ slideshow_ref@Base 4.0.4
304+ slideshow_unref@Base 4.0.4
305+ wmclass_roles@Base 0.2.1
306
307=== added file 'debian/rules'
308--- debian/rules 1970-01-01 00:00:00 +0000
309+++ debian/rules 2012-12-12 15:36:26 +0000
310@@ -0,0 +1,17 @@
311+#!/usr/bin/make -f
312+
313+include /usr/share/cdbs/1/rules/debhelper.mk
314+include /usr/share/cdbs/1/class/autotools.mk
315+include /usr/share/cdbs/1/rules/simple-patchsys.mk
316+include /usr/share/cdbs/1/rules/utils.mk
317+include /usr/share/cdbs/1/rules/autoreconf.mk
318+
319+LDFLAGS += -Wl,-O1 -Wl,--as-needed
320+DEB_DH_AUTORECONF_ARGS = env NOCONFIGURE=1 ./autogen.sh
321+DEB_CONFIGURE_EXTRA_FLAGS = --enable-gtk-doc
322+
323+common-binary-post-install-arch::
324+ find debian/tmp/usr/lib -name \*.la -exec rm {} \;
325+ find debian/tmp/usr/lib -name \*.a -exec rm {} \;
326+
327+common-binary-predeb-arch:: list-missing
328
329=== added file 'debian/watch'
330--- debian/watch 1970-01-01 00:00:00 +0000
331+++ debian/watch 2012-12-12 15:36:26 +0000
332@@ -0,0 +1,2 @@
333+version=3
334+https://launchpad.net/libunity-misc/+download .*/libunity-misc-([0-9.]+)\.tar\.gz
335
336=== removed file 'gtk-doc.make'
337--- gtk-doc.make 2011-06-16 13:15:05 +0000
338+++ gtk-doc.make 1970-01-01 00:00:00 +0000
339@@ -1,264 +0,0 @@
340-# -*- mode: makefile -*-
341-
342-####################################
343-# Everything below here is generic #
344-####################################
345-
346-if GTK_DOC_USE_LIBTOOL
347-GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
348-GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
349-GTKDOC_RUN = $(LIBTOOL) --mode=execute
350-else
351-GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
352-GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
353-GTKDOC_RUN =
354-endif
355-
356-# We set GPATH here; this gives us semantics for GNU make
357-# which are more like other make's VPATH, when it comes to
358-# whether a source that is a target of one rule is then
359-# searched for in VPATH/GPATH.
360-#
361-GPATH = $(srcdir)
362-
363-TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
364-
365-SETUP_FILES = \
366- $(content_files) \
367- $(DOC_MAIN_SGML_FILE) \
368- $(DOC_MODULE)-sections.txt \
369- $(DOC_MODULE)-overrides.txt
370-
371-EXTRA_DIST = \
372- $(SETUP_FILES)
373-
374-DOC_STAMPS=setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
375- html-build.stamp pdf-build.stamp \
376- setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
377-
378-SCANOBJ_FILES = \
379- $(DOC_MODULE).args \
380- $(DOC_MODULE).hierarchy \
381- $(DOC_MODULE).interfaces \
382- $(DOC_MODULE).prerequisites \
383- $(DOC_MODULE).signals
384-
385-REPORT_FILES = \
386- $(DOC_MODULE)-undocumented.txt \
387- $(DOC_MODULE)-undeclared.txt \
388- $(DOC_MODULE)-unused.txt
389-
390-CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
391-
392-if ENABLE_GTK_DOC
393-if GTK_DOC_BUILD_HTML
394-HTML_BUILD_STAMP=html-build.stamp
395-else
396-HTML_BUILD_STAMP=
397-endif
398-if GTK_DOC_BUILD_PDF
399-PDF_BUILD_STAMP=pdf-build.stamp
400-else
401-PDF_BUILD_STAMP=
402-endif
403-
404-all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
405-else
406-all-local:
407-endif
408-
409-docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
410-
411-$(REPORT_FILES): sgml-build.stamp
412-
413-#### setup ####
414-
415-setup-build.stamp:
416- -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
417- echo 'gtk-doc: Preparing build'; \
418- files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
419- if test "x$$files" != "x" ; then \
420- for file in $$files ; do \
421- test -f $(abs_srcdir)/$$file && \
422- cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
423- done \
424- fi; \
425- test -f $(abs_srcdir)/tmpl && \
426- cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
427- fi
428- @touch setup-build.stamp
429-
430-
431-setup.stamp: setup-build.stamp
432- @true
433-
434-
435-#### scan ####
436-
437-scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
438- @echo 'gtk-doc: Scanning header files'
439- @_source_dir='' ; \
440- for i in $(DOC_SOURCE_DIR) ; do \
441- _source_dir="$${_source_dir} --source-dir=$$i" ; \
442- done ; \
443- gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
444- @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
445- CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
446- else \
447- for i in $(SCANOBJ_FILES) ; do \
448- test -f $$i || touch $$i ; \
449- done \
450- fi
451- @touch scan-build.stamp
452-
453-$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
454- @true
455-
456-#### templates ####
457-
458-tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
459- @echo 'gtk-doc: Rebuilding template files'
460- @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
461- @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
462- if test -w $(abs_srcdir) ; then \
463- cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
464- fi \
465- fi
466- @touch tmpl-build.stamp
467-
468-tmpl.stamp: tmpl-build.stamp
469- @true
470-
471-$(srcdir)/tmpl/*.sgml:
472- @true
473-
474-#### xml ####
475-
476-sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
477- @echo 'gtk-doc: Building XML'
478- @-chmod -R u+w $(srcdir)
479- @_source_dir='' ; \
480- for i in $(DOC_SOURCE_DIR) ; do \
481- _source_dir="$${_source_dir} --source-dir=$$i" ; \
482- done ; \
483- 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)
484- @touch sgml-build.stamp
485-
486-sgml.stamp: sgml-build.stamp
487- @true
488-
489-#### html ####
490-
491-html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
492- @echo 'gtk-doc: Building HTML'
493- @rm -rf html
494- @mkdir html
495- @mkhtml_options=""; \
496- gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
497- if test "$(?)" = "0"; then \
498- mkhtml_options=--path="$(abs_srcdir)"; \
499- fi; \
500- cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
501- -@test "x$(HTML_IMAGES)" = "x" || \
502- for file in $(HTML_IMAGES) ; do \
503- if test -f $(abs_srcdir)/$$file ; then \
504- cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
505- fi; \
506- if test -f $(abs_builddir)/$$file ; then \
507- cp $(abs_builddir)/$$file $(abs_builddir)/html; \
508- fi; \
509- done;
510- @echo 'gtk-doc: Fixing cross-references'
511- @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
512- @touch html-build.stamp
513-
514-#### pdf ####
515-
516-pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
517- @echo 'gtk-doc: Building PDF'
518- @rm -rf $(DOC_MODULE).pdf
519- @mkpdf_imgdirs=""; \
520- if test "x$(HTML_IMAGES)" != "x"; then \
521- for img in $(HTML_IMAGES); do \
522- part=`dirname $$img`; \
523- echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
524- if test $$? != 0; then \
525- mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
526- fi; \
527- done; \
528- fi; \
529- gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
530- @touch pdf-build.stamp
531-
532-##############
533-
534-clean-local:
535- rm -f *~ *.bak
536- rm -rf .libs
537-
538-distclean-local:
539- rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
540- $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
541- if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
542- rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
543- rm -rf tmpl; \
544- fi
545-
546-maintainer-clean-local: clean
547- rm -rf xml html
548-
549-install-data-local:
550- @installfiles=`echo $(srcdir)/html/*`; \
551- if test "$$installfiles" = '$(srcdir)/html/*'; \
552- then echo '-- Nothing to install' ; \
553- else \
554- if test -n "$(DOC_MODULE_VERSION)"; then \
555- installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
556- else \
557- installdir="$(DESTDIR)$(TARGET_DIR)"; \
558- fi; \
559- $(mkinstalldirs) $${installdir} ; \
560- for i in $$installfiles; do \
561- echo '-- Installing '$$i ; \
562- $(INSTALL_DATA) $$i $${installdir}; \
563- done; \
564- if test -n "$(DOC_MODULE_VERSION)"; then \
565- mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
566- $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
567- mv -f $${installdir}/$(DOC_MODULE).devhelp \
568- $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
569- fi; \
570- $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
571- fi
572-
573-uninstall-local:
574- @if test -n "$(DOC_MODULE_VERSION)"; then \
575- installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
576- else \
577- installdir="$(DESTDIR)$(TARGET_DIR)"; \
578- fi; \
579- rm -rf $${installdir}
580-
581-#
582-# Require gtk-doc when making dist
583-#
584-if ENABLE_GTK_DOC
585-dist-check-gtkdoc:
586-else
587-dist-check-gtkdoc:
588- @echo "*** gtk-doc must be installed and enabled in order to make dist"
589- @false
590-endif
591-
592-dist-hook: dist-check-gtkdoc dist-hook-local
593- mkdir $(distdir)/tmpl
594- mkdir $(distdir)/html
595- -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
596- cp $(builddir)/html/* $(distdir)/html
597- -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
598- -cp $(build)/$(DOC_MODULE).types $(distdir)/
599- -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
600- cd $(distdir) && rm -f $(DISTCLEANFILES)
601- $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
602-
603-.PHONY : dist-hook-local docs

Subscribers

People subscribed via source and target branches

to all changes: