~ubuntu-branches/ubuntu/natty/pywebkitgtk/natty

« back to all changes in this revision

Viewing changes to .pc/debian-changes-1.1.8-0ubuntu1/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier, Christophe Sauthier, Emilio Pozuelo Monfort
  • Date: 2010-08-11 18:38:44 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100811183844-v9885bf4czewh3ey
Tags: 1.1.8-0ubuntu1
[ Christophe Sauthier ]
* New upstream release
* debian/control.in
- Standards-Version is 3.9.1, no changes needed.

[ Emilio Pozuelo Monfort ]
* debian/control.in,
  debian/rules:
  - Switch to CDBS and python-autotools.mk.
* debian/control.in:
  - Standards-Version is 3.8.4, no changes needed.
  - Let python-webkit-dev depend on ${misc:Depends}.
  - Remove trailing whitespaces.
* debian/python-webkit.docs:
  - Removed, not needed with CDBS.
* debian/control.in,
  debian/rules,
  debian/source/format:
  - Switch to source format 3.0 (quilt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
srcdir = @srcdir@
 
3
VPATH = @srcdir@
 
4
 
 
5
webkit_defs :=
 
6
webkit_sources :=
 
7
webkit_py_sources :=
 
8
nodist_webkit_sources :=
 
9
webkit_cflags :=
 
10
 
 
11
CREATEDEFS = $(PYTHON) $(PYGTK_CODEGENDIR)/createdefs.py
 
12
 
 
13
defsdir = $(pkgdatadir)/defs
 
14
defs_DATA = $(webkit_defs)
 
15
 
 
16
common_ldflags = -module -avoid-version
 
17
 
 
18
pkgpythondir = $(pyexecdir)/webkit
 
19
pkgpyexecdir = $(pyexecdir)/webkit
 
20
 
 
21
webkitdir = $(pkgpyexecdir)/webkit
 
22
 
 
23
# pywebkitgtk library
 
24
pkgpyexec_LTLIBRARIES = webkit.la
 
25
 
 
26
webkit_la_CPPFLAGS = $(PYTHON_INCLUDES) $(DEPS_CPPFLAGS) $(WEBKIT_CPPFLAGS) $(webkit_cflags)
 
27
webkit_la_CFLAGS = $(DEPS_CFLAGS) $(WEBKIT_CFLAGS)
 
28
webkit_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initwebkit
 
29
webkit_la_LIBADD = $(DEPS_LIBS) $(WEBKIT_LIBS)
 
30
webkit_la_SOURCES = $(webkit_sources)
 
31
nodist_webkit_la_SOURCES = $(nodist_webkit_sources)
 
32
 
 
33
pkgconfigdir = $(libdir)/pkgconfig
 
34
pkgconfig_DATA = pywebkitgtk-1.0.pc
 
35
 
 
36
# Python sources
 
37
webkit_py_sources += \
 
38
        webkit/__init__.py
 
39
pkgpython_DATA = $(webkit_py_sources)
 
40
 
 
41
# Build components
 
42
webkit_sources += \
 
43
        webkit/webkitmodule.c \
 
44
        javascriptcore/javascriptcore_types.c \
 
45
        javascriptcore/javascriptcore_types.h
 
46
nodist_webkit_sources += webkit/webkit.c
 
47
 
 
48
# WebKit/Gtk definitions
 
49
webkit_defs += $(srcdir)/webkit/webkit-base-types.defs $(srcdir)/webkit/webkit-1.1-types.defs
 
50
webkit_defs += $(srcdir)/webkit/webkit-1.0.2.defs $(srcdir)/webkit/webkit-1.1.defs
 
51
 
 
52
webkit_deps := \
 
53
        $(srcdir)/webkit/webkit.override \
 
54
        webkit/webkit.defs
 
55
 
 
56
webkit/webkit.c: $(webkit_deps)
 
57
 
 
58
webkit/webkit.defs: $(webkit_defs)
 
59
        $(CREATEDEFS) $@ $(webkit_defs)
 
60
 
 
61
# FIXME: this is causing a build issue in ArchLinux. Figure out why
 
62
# disable for now since line is not really critical.
 
63
#       && ! grep -q -v "^\*\*\*INFO\*\*\*" $(*D)/$(*F).errors
 
64
.defs.c:
 
65
        ($(PYGOBJECT_CODEGEN) \
 
66
            --register $(PYGTK_DEFSDIR)/gdk-types.defs \
 
67
            --register $(PYGTK_DEFSDIR)/gtk-types.defs \
 
68
            --override $(srcdir)/$(*D)/$(*F).override \
 
69
            --prefix py$(*F) $(*D)/$(*F).defs) 2>&1 > $(*D)/gen-$(*F).c | tee $(*D)/$(*F).errors \
 
70
        && cp $(*D)/gen-$(*F).c $(*D)/$(*F).c \
 
71
        && rm -f $(*D)/gen-$(*F).c
 
72
 
 
73
dist-hook: ChangeLog
 
74
 
 
75
ChangeLog: 
 
76
        git log --stat > ChangeLog
 
77
 
 
78
uninstall-hook:
 
79
        -rmdir $(webkitdir)
 
80
 
 
81
MAINTAINERCLEANFILES = \
 
82
        ChangeLog \
 
83
        $(srcdir)/aclocal.m4 \
 
84
        $(srcdir)/config.h.in \
 
85
        $(srcdir)/compile \
 
86
        $(srcdir)/config.guess \
 
87
        $(srcdir)/config.sub \
 
88
        $(srcdir)/configure \
 
89
        $(srcdir)/depcomp \
 
90
        $(srcdir)/install-sh \
 
91
        $(srcdir)/ltmain.sh \
 
92
        $(srcdir)/missing
 
93
 
 
94
CLEANFILES = \
 
95
        config.lt \
 
96
        demos/inspector.pyc \
 
97
        $(srcdir)/webkit/gen-webkit.c \
 
98
        $(builddir)/webkit/webkit.c \
 
99
        webkit/webkit.defs \
 
100
        webkit/webkit-types.defs \
 
101
        $(builddir)/webkit/webkit.errors \
 
102
        Makefile.in \
 
103
        pywebkitgtk-1.0.pc
 
104
 
 
105
EXTRA_DIST = \
 
106
        AUTHORS \
 
107
        COPYING \
 
108
        INSTALL \
 
109
        MAINTAINERS \
 
110
        NEWS \
 
111
        README \
 
112
        demos/inspector.py \
 
113
        demos/browser.py \
 
114
        webkit/webkit.override \
 
115
        tests/test_webbackforwardlist.py \
 
116
        tests/test_webframe.py \
 
117
        tests/test_webnavigationaction.py \
 
118
        $(webkit_types_defs) \
 
119
        $(webkit_defs) \
 
120
        $(webkit_py_sources)