~ubuntu-branches/debian/sid/policykit-1/sid

« back to all changes in this revision

Viewing changes to src/polkitagent/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-02-23 19:51:17 UTC
  • mfrom: (10.1.5 natty)
  • Revision ID: james.westby@ubuntu.com-20110223195117-kqvcxs8v1rc3kthn
Tags: 0.100-1
* New upstream release.
* Refresh debian/patches/03_complete_session.patch.
* Replace debian/patches/04_test_signalfd.patch with a patch that was merged
  upstream. This also allows to drop debian/patches/99_autoreconf.patch.
* Switch from cdbs to dh.
* Bump debhelper compatibility level to 8.
* Install documentation using debian/policykit-1.docs.
* Enable gobject introspection support.
  - Add Build-Depends on libgirepository1.0-dev (>= 0.9.12),
    gobject-introspection (>= 0.9.12-4~) and gir1.2-glib-2.0.
  - Add package gir1.2-polkit-1.0 containing the typelib files.
  - Install gir files in libpolkit-agent-1-dev.install and
    libpolkit-gobject-1-dev.install.
  - Call dh_girepository in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
        $(top_builddir)/src/polkit/libpolkit-gobject-1.la               \
101
101
        $(NULL)
102
102
 
 
103
if ENABLE_INTROSPECTION
 
104
girdir = $(GIRDIR)
 
105
gir_DATA = PolkitAgent-1.0.gir
 
106
 
 
107
typelibsdir = $(GIRTYPELIBDIR)
 
108
typelibs_DATA = PolkitAgent-1.0.typelib
 
109
 
 
110
PolkitAgent-1.0.gir: libpolkit-agent-1.la $(G_IR_SCANNER) Makefile.am
 
111
        $(G_IR_SCANNER) -v                                      \
 
112
                --warn-all                                      \
 
113
                --namespace PolkitAgent                         \
 
114
                --nsversion=1.0                                 \
 
115
                --include=Gio-2.0                               \
 
116
                --include-uninstalled=$(top_builddir)/src/polkit/Polkit-1.0.gir \
 
117
                --library=polkit-agent-1                        \
 
118
                --output $@                                     \
 
119
                --pkg=glib-2.0                                  \
 
120
                --pkg=gobject-2.0                               \
 
121
                --pkg=gio-2.0                                   \
 
122
                --libtool=$(top_builddir)/libtool               \
 
123
                -I$(top_srcdir)/src                             \
 
124
                -D_POLKIT_COMPILATION                           \
 
125
                -D_POLKIT_AGENT_COMPILATION                     \
 
126
                $(libpolkit_agent_1_la_SOURCES)                 \
 
127
                $(NULL)
 
128
 
 
129
PolkitAgent-1.0.typelib: PolkitAgent-1.0.gir $(G_IR_COMPILER)
 
130
        $(G_IR_COMPILER)                                        \
 
131
                --includedir $(top_builddir)/src/polkit         \
 
132
                $< -o $@
 
133
 
 
134
endif # ENABLE_INTROSPECTION
 
135
 
103
136
# polkit-agent-helper-1 need to be setuid root because it's used to
104
137
# authenticate not only the invoking user, but possibly also root
105
138
# and/or other users.