5
DEB_BUILD_ARCH ?=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
6
ifneq (,$(findstring sparc,$(DEB_BUILD_ARCH)))
7
CONFIGURE_OPTS = --with-cc-opt="-m32 -mcpu=ultrasparc"
10
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
19
cp -f /usr/share/misc/config.sub config.sub
24
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
25
cp -f /usr/share/misc/config.guess config.guess
28
config.status: config.sub config.guess
30
--conf-path=/etc/nginx/nginx.conf \
31
--error-log-path=/var/log/nginx/error.log \
32
--http-client-body-temp-path=/var/lib/nginx/body \
33
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
34
--http-log-path=/var/log/nginx/access.log \
35
--http-proxy-temp-path=/var/lib/nginx/proxy \
36
--http-scgi-temp-path=/var/lib/nginx/scgi \
37
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
38
--lock-path=/var/lock/nginx.lock \
39
--pid-path=/var/run/nginx.pid \
41
--with-http_dav_module \
42
--with-http_flv_module \
43
--with-http_geoip_module \
44
--with-http_gzip_static_module \
45
--with-http_image_filter_module \
46
--with-http_perl_module \
47
--with-http_realip_module \
48
--with-http_stub_status_module \
49
--with-http_ssl_module \
50
--with-http_sub_module \
51
--with-http_xslt_module \
53
--with-sha1=/usr/include/openssl \
54
--with-md5=/usr/include/openssl \
56
--with-mail_ssl_module \
57
--add-module=$(CURDIR)/modules/nginx-upstream-fair \
58
--add-module=$(CURDIR)/modules/nginx-echo \
72
rm -f config.sub config.guess
74
[ ! -f Makefile ] || $(MAKE) clean
89
dh_installman debian/nginx.1
90
dh_installchangelogs CHANGES
93
dh_installinit -r --no-start
96
dh_strip --dbg-package=nginx-dbg
105
binary: binary-indep binary-arch
107
.PHONY: build clean binary-indep binary-arch binary install