File: rules

package info (click to toggle)
mcrypt 2.6.8-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,816 kB
  • sloc: sh: 10,159; ansic: 6,265; makefile: 38; sed: 16
file content (19 lines) | stat: -rwxr-xr-x 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17

%:
	dh "$@"

execute_before_dh_autoreconf:
	@echo "dpkg-source cannot properly handle deletion and configure.in can confuse autoreconf."
	-rm -f --verbose configure.in

override_dh_auto_configure:
	# We don't need to embed full path as gzip will be used inside
	# popen() which uses a shell and thus has PATH.
	dh_auto_configure -- GZIP=/bin/gzip BZIP2=/bin/bzip2

execute_before_dh_auto_build:
	touch src/gaaout.c src/gaa.h po/mcrypt.pot