~ubuntu-branches/ubuntu/raring/rssh/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Russ Allbery
  • Date: 2012-02-05 19:51:55 UTC
  • Revision ID: package-import@ubuntu.com-20120205195155-dxhf768y6nix3oji
Tags: 2.3.3-2
* Update examples/mkchroot.sh to include libnss modules in a multiarch
  subdirectory of /lib if none exist directly in /lib.
* Update to debhelper compatibility level V9.
  - Enable compiler hardening flags, including bindnow and PIE.
    (Closes: #654155)
* Use dh-autoreconf to regenerate the Autotools build system rather than
  rolling our own equivalent.
* Update standards version to 3.9.2 (no changes required).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
# Enable compiler hardening flags.
 
4
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie
 
5
 
3
6
# Load TopGit targets if available.
4
7
-include /usr/share/topgit/tg2quilt.mk
5
8
 
11
14
endif
12
15
 
13
16
%:
14
 
        dh $@
 
17
        dh $@ --with autoreconf
15
18
 
16
19
override_dh_auto_configure:
17
 
        autoreconf -i
18
20
        chmod a+x conf_convert
19
21
        dh_auto_configure -- --with-scp=/usr/bin/scp --with-cvs=/usr/bin/cvs \
20
22
            --with-sftp-server=/usr/lib/openssh/sftp-server \
21
23
            --with-rsync=/usr/bin/rsync --with-rdist=/usr/bin/rdist \
22
24
            --with-svnserve=/usr/bin/svnserve $(CONFIGURE_OPTIONS)
23
25
 
24
 
override_dh_auto_clean:
25
 
        rm -rf autom4te.cache
26
 
        dh_auto_clean
27
 
 
28
26
override_dh_auto_install:
29
27
        @:
30
28