File: rules

package info (click to toggle)
libnginx-mod-http-memc 0.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 424 kB
  • sloc: ansic: 2,905; perl: 120; sh: 115; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

execute_before_dh_auto_build:
	# rebuild ngx_http_memc_response.c using ragel
	[ -f src/ngx_http_memc_response.c.orig ] || cp src/ngx_http_memc_response.c src/ngx_http_memc_response.c.orig
	ragel -G2 src/ngx_http_memc_response.rl || mv -f src/ngx_http_memc_response.c.orig src/ngx_http_memc_response.c
	diff -u src/ngx_http_memc_response.c.orig src/ngx_http_memc_response.c || :

execute_after_dh_auto_build:
	mv -f src/ngx_http_memc_response.c.orig src/ngx_http_memc_response.c

%:
	dh $@