~ubuntu-branches/ubuntu/vivid/grepcidr/vivid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Ryan Finnie
  • Date: 2013-11-10 18:37:30 UTC
  • Revision ID: package-import@ubuntu.com-20131110183730-8b3r679hmfachq4d
Tags: 1.3-6
* Lintian cleanup:
  * ancient-standards-version
  * dm-upload-allowed-is-obsolete
  * hardening-no-relro
* Add Vcs information
* Enable XZ-compressed deb

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
6
6
 
 
7
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 
8
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 
9
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 
10
 
7
11
%:
8
12
        dh $@ 
9
13
 
 
14
override_dh_auto_build:
 
15
        $(MAKE) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
 
16
 
10
17
override_dh_auto_install:
11
18
        $(MAKE) install DESTDIR=$(CURDIR)/debian/grepcidr PREFIX=/usr
12
19