~eivnaes/sstp-client/1.0.13

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: eivnaes
  • Date: 2016-04-20 15:45:03 UTC
  • Revision ID: svn-v4:17c00af8-5a35-4a21-99a1-c4d57c7ef0cf:trunk:196
Removing autogen files, updating debian files

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
5
5
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 
6
PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir)
6
7
CFLAGS+=$(HARDENING_CFLAGS)
7
8
LDFLAGS+=$(HARDENING_LDFLAGS)
8
9
 
9
10
configure:
10
 
    
11
11
        ./configure \
12
 
        --prefix=/usr \
13
 
        --sysconfdir=/etc \
14
 
        --localstatedir=/var \
15
 
        --includedir=${prefix}/include \
16
 
        --libexecdir=${prefix}/lib/sstp-client \
17
 
        --mandir=${prefix}/share/man \
18
 
        --infodir=${prefix}/share/info \
19
 
        --disable-dependency-tracking \
20
 
        --with-runtime-dir="/var/run/sstpc" \
21
 
        --with-pppd-plugin-dir="/usr/lib/pppd/2.4.6" \
22
 
        --enable-user \
23
 
        --enable-group
 
12
                --prefix=/usr \
 
13
                --sysconfdir=/etc \
 
14
                --localstatedir=/var \
 
15
                --includedir=${prefix}/include \
 
16
                --libexecdir=${prefix}/lib/sstp-client \
 
17
                --mandir=${prefix}/share/man \
 
18
                --infodir=${prefix}/share/info \
 
19
                --disable-dependency-tracking \
 
20
                --with-runtime-dir="/var/run/sstpc" \
 
21
                --with-pppd-plugin-dir=$(PPPD_PLUGIN_DIR) \
 
22
                --enable-user \
 
23
                --enable-group
24
24
 
25
25
%:
26
 
        dh $@
 
26
        dh $@ --with autoreconf,ppp
27
27
 
28
28
override_dh_makeshlibs:
29
 
        dh_makeshlibs -X/usr/lib/pppd/
 
29
        dh_makeshlibs -X$(PPPD_PLUGIN_DIR)
30
30
 
31
31
 
32
32
get-orig-source:
33
33
        cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
34
 
    uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)
 
34
                uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)
35
35