~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to Makefile.am.marshal

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2010-05-04 17:37:18 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100504173718-k2rx3nryi4vd0xyx
Tags: 2.30.1-1
* New upstream release.
  - HAL dependency has been dropped. Use (g)udev for v4l capability probing
    on Linux. Closes: #573774
  - Split code into separate libraries.
* debian/control.in
  - Drop Build-Depends on libhal-dev.
  - Drop Build-Depends on libebook1.2-dev.
  - Bump Build-Depends on libgtk2.0-dev to (>= 2.19.1).
  - Bump Build-Depends on libgstreamer*-dev to (>= 0.10.23).
  - Add Build-Depends on libcanberra-gtk-dev.
  - Add Build-Depends on libxtst-dev.
  - Add Build-Depends on libgudev-1.0-dev on Linux.
  - Bump Standards-Version to 3.8.4. No further changes.
* Switch to source format 3.0 (quilt)
  - Add debian/source/format.
* debian/rules
  - Drop lpia specific configure flags, lpia is dead.
* Update package layout (based on work by Ubuntu)
  - Move data files into new cheese-common package.
  - Keep binary along with its desktop and dbus service file in the cheese
    package.
  - Add libcheese-gtk18 and libcheese-gtk-dev package for the new
    libcheese-gtk library. Use a symbols file for improved shlibs
    dependencies.
  - Add Conflicts/Replaces to cheese-common to ensure proper upgrades from
    previous versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Rules for generating marshal files using glib-genmarshal
 
2
#
 
3
# Define:
 
4
#       glib_marshal_list = marshal list file
 
5
#       glib_marshal_prefix = prefix for marshal functions
 
6
#
 
7
# before including Makefile.am.marshal. You will also need to have
 
8
# the following targets already defined:
 
9
#
 
10
#       CLEANFILES
 
11
#       DISTCLEANFILES
 
12
#       BUILT_SOURCES
 
13
#       EXTRA_DIST
 
14
#
 
15
# Author: Emmanuele Bassi <ebassi@linux.intel.com>
 
16
 
 
17
marshal_h = $(glib_marshal_list:.list=.h)
 
18
marshal_c = $(glib_marshal_list:.list=.c)
 
19
 
 
20
CLEANFILES += stamp-marshal
 
21
DISTCLEANFILES += $(marshal_h) $(marshal_c)
 
22
BUILT_SOURCES += $(marshal_h) $(marshal_c)
 
23
EXTRA_DIST += $(srcdir)/$(glib_marshal_list)
 
24
 
 
25
stamp-marshal: $(glib_marshal_list)
 
26
        $(AM_V_GEN)$(GLIB_GENMARSHAL) \
 
27
                --prefix=$(glib_marshal_prefix) \
 
28
                --header \
 
29
        $(srcdir)/$(glib_marshal_list) > xgen-mh \
 
30
        && (cmp -s xgen-mh $(marshal_h) || cp -f xgen-mh $(marshal_h)) \
 
31
        && rm -f xgen-mh \
 
32
        && echo timestamp > $(@F)
 
33
 
 
34
$(marshal_h): stamp-marshal
 
35
        @true
 
36
 
 
37
$(marshal_c): $(marshal_h)
 
38
        $(AM_V_GEN)(echo "#include \"$(marshal_h)\"" ; \
 
39
        $(GLIB_GENMARSHAL) \
 
40
                --prefix=$(glib_marshal_prefix) \
 
41
                --body \
 
42
        $(srcdir)/$(glib_marshal_list)) > xgen-mc \
 
43
        && cp xgen-mc $(marshal_c) \
 
44
        && rm -f xgen-mc
 
45