~ubuntu-branches/ubuntu/saucy/apt-cacher-ng/saucy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Eduard Bloch
  • Date: 2011-09-30 16:37:18 UTC
  • mfrom: (24.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20110930163718-r0agyg6jptvobt5w
* New upstream versions
  + implements extra keeping of obsolete package versions (closes: #634145)
  + configurable outgoing connection protocol (closes: #641257)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
CFLAGS = -Wall -g
9
9
 
10
10
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
11
 
        CFLAGS += -O0
 
11
CFLAGS += -O0
12
12
else
13
 
        CFLAGS += -O2
 
13
CFLAGS += -O2
14
14
endif
15
15
 
 
16
NUMJOBS=2
16
17
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
17
 
        NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 
18
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
18
19
endif
19
20
 
20
21
 
92
93
        dh_shlibdeps
93
94
        dh_gencontrol
94
95
        dh_md5sums
95
 
        dh_builddeb
 
96
        dh_builddeb -- -Zxz
96
97
 
97
98
binary: binary-indep binary-arch
98
99
.PHONY: build clean binary-indep binary-arch binary install configure