~lightdm-team/lightdm/1.6

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Robert Ancell
  • Date: 2013-10-07 23:19:07 UTC
  • Revision ID: robert.ancell@canonical.com-20131007231907-k6eiji2vwn9r6nsd
BringĀ packagingĀ in-tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f 
 
2
 
 
3
LDFLAGS+=-Wl,--as-needed
 
4
 
 
5
%:
 
6
        dh $@ --with quilt,autoreconf,translations --parallel
 
7
 
 
8
override_dh_autoreconf:
 
9
        NOCONFIGURE=1 dh_autoreconf ./autogen.sh
 
10
 
 
11
# NOTE: Using GNOME for now, but we still need a proper configuration system
 
12
# See https://launchpad.net/bugs/799754
 
13
override_dh_auto_configure:
 
14
        dh_auto_configure -- --with-greeter-user=lightdm --with-user-session=ubuntu --enable-gtk-doc
 
15
 
 
16
override_dh_auto_test:
 
17
        #Disabled for now, are failing for some reason
 
18
        #DEBUG=1 dh_auto_test || { cat tests/test-suite.log; exit 1; }
 
19
 
 
20
override_dh_install:
 
21
        rm -r debian/tmp/usr/share/help/C/
 
22
        # we do install pam through installpam and init through installinit
 
23
        dh_install -X.a -X.la -Xpam.d -X'etc/init/lightdm.conf' --fail-missing
 
24
        mv debian/lightdm/usr/lib/lightdm/lightdm/lightdm-set-defaults debian/lightdm/usr/lib/lightdm
 
25
        chmod +x debian/lightdm/usr/lib/lightdm/lightdm-greeter-session
 
26
 
 
27
override_dh_installinit:
 
28
        dh_installinit --no-start
 
29
 
 
30
override_dh_installpam:
 
31
        dh_installpam
 
32
        dh_installpam --name=lightdm-autologin
 
33
        dh_installpam --name=lightdm-greeter
 
34
        
 
35
override_dh_makeshlibs:
 
36
        dh_makeshlibs -pliblightdm-gobject-1-0 -V'liblightdm-gobject-1-0 (>= 0.9.2)' -- -c4
 
37
        dh_makeshlibs -Nliblightdm-gobject-1-0