~ubuntu-branches/ubuntu/lucid/lxdm/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-01-31 23:35:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100131233502-nzdhokfq6lbicgfr
Tags: 0.2.0~svn2307+git20100209-0ubuntu1
* New upstream snapshot, from git (40c1561c8d).
* debian/rules
 - Pass config file with CFLAGS to /etc/lxdm/default.list. This location will
   be updated by update-alternative to handle multiple configuration files.
 - Pass --libexecdir=/usr/lib/lxdm configure flag.
* debian/patches/
 - 14-lubuntu-config-file.patch: Removed, handle by update-alternative.
 - 13-plymouth-support.patch: Removed, merged upstream.
 - 12-replace-libexec.patch: removed, handle by --libexecdir=/usr/lib/lxdm
* debian/control
 - Add depends on librsvg2-common, the theme use SVG image.
* debian/lxdm.postinst & debian/prerm
 - Use update-alternate to configure default configuration file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
LDFLAGS += -Wl,-z,defs -Wl,-O2 -Wl,--as-needed
3
2
 
 
3
config_file = /etc/lxdm/default.conf
 
4
LDFLAGS = -Wl,-z,defs -Wl,-O2 -Wl,--as-needed
 
5
CFLAGS  = -DCONFIG_FILE=\\\"$(config_file)\\\"
4
6
%:
5
7
        dh --with quilt $@
6
8
 
 
9
override_dh_auto_configure:
 
10
        dh_auto_configure -- LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" \
 
11
                --sysconfdir=/etc \
 
12
                --libexecdir=/usr/lib/lxdm
 
13
 
7
14
override_dh_auto_test:
8
15
        #Don't do anything, tests didn't pass for now
9
16