~ubuntu-branches/debian/jessie/cheese/jessie

« back to all changes in this revision

Viewing changes to Makefile.am.enums

  • 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 enumeration types using glib-mkenums
 
2
#
 
3
# Define:
 
4
#       glib_enum_h = header template file
 
5
#       glib_enum_c = source template file
 
6
#       glib_enum_headers = list of headers to parse
 
7
#
 
8
# before including Makefile.am.enums. You will also need to have
 
9
# the following targets already defined:
 
10
#
 
11
#       CLEANFILES
 
12
#       DISTCLEANFILES
 
13
#       BUILT_SOURCES
 
14
#       EXTRA_DIST
 
15
#
 
16
# Author: Emmanuele Bassi <ebassi@linux.intel.com>
 
17
 
 
18
enum_tmpl_h=$(glib_enum_h:.h=.h.in)
 
19
enum_tmpl_c=$(glib_enum_c:.c=.c.in)
 
20
 
 
21
CLEANFILES += stamp-enum-types
 
22
DISTCLEANFILES += $(glib_enum_h) $(glib_enum_c)
 
23
BUILT_SOURCES += $(glib_enum_h) $(glib_enum_c)
 
24
EXTRA_DIST += $(srcdir)/$(enum_tmpl_h) $(srcdir)/$(enum_tmpl_c)
 
25
 
 
26
stamp-enum-types: $(glib_enum_headers) $(srcdir)/$(enum_tmpl_h)
 
27
        $(AM_V_GEN) $(GLIB_MKENUMS) \
 
28
                --template $(srcdir)/$(enum_tmpl_h) \
 
29
        $(glib_enum_headers) > xgen-eh \
 
30
        && (cmp -s xgen-eh $(glib_enum_h) || cp -f xgen-eh $(glib_enum_h)) \
 
31
        && rm -f xgen-eh \
 
32
        && echo timestamp > $(@F)
 
33
 
 
34
$(glib_enum_h): stamp-enum-types
 
35
        @true
 
36
 
 
37
$(glib_enum_c): $(glib_enum_h) $(srcdir)/$(enum_tmpl_c)
 
38
        $(AM_V_GEN) $(GLIB_MKENUMS) \
 
39
                --template $(srcdir)/$(enum_tmpl_c) \
 
40
        $(glib_enum_headers) > xgen-ec \
 
41
        && cp -f xgen-ec $(glib_enum_c) \
 
42
        && rm -f xgen-ec
 
43