~ubuntu-branches/ubuntu/vivid/syslog-ng-incubator/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Gergely Nagy
  • Date: 2014-03-14 11:34:57 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140314113457-yqfw8yp81pysy32r
Tags: 0.2.1-1
* New upstream release:
  + New module: syslog-ng-mod-graphite
  + New module: syslog-ng-mod-elasticsearch
* debian/copyright updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /usr/bin/make -f
2
2
## debian/rules file for syslog-ng Incubator
3
 
## (C) 2013 Gergely Nagy <algernon@madhouse-project.org>
 
3
## (C) 2013, 2014 Gergely Nagy <algernon@madhouse-project.org>
4
4
##
5
5
## Released under the GPLv2+, see /usr/share/common-licenses/GPL-2 on
6
6
## Debian systems.
16
16
 
17
17
override_dh_auto_configure:
18
18
        install -d debian/build-tree
19
 
        dh_auto_configure -- LDFLAGS="${LDFLAGS} -Wl,-rpath=/usr/lib/syslog-ng"
 
19
        dh_auto_configure -- \
 
20
                --datadir=/usr/share/syslog-ng \
 
21
                LDFLAGS="${LDFLAGS} -Wl,-rpath=/usr/lib/syslog-ng"
20
22
 
21
23
##
22
24
#* Overrides for other debhelper commands
33
35
override_dh_makeshlibs:
34
36
        dh_makeshlibs -n -Xusr/lib/syslog-ng/*
35
37
 
36
 
# Compress the .debs with xz, except, we use gzip on Ubuntu, for the
37
 
# sake of Lucid.
38
 
override_dh_builddeb:
39
 
ifeq (Ubuntu,$(shell lsb_release -is))
40
 
        dh_builddeb -- -Zgzip
41
 
else
42
 
        dh_builddeb -- -Zxz
43
 
endif
44
 
 
45
38
%:
46
39
        dh $@ --with autoreconf