File: rules

package info (click to toggle)
gdbm 1.24-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,364 kB
  • sloc: ansic: 16,116; sh: 7,798; lex: 773; yacc: 381; makefile: 368; perl: 284; exp: 177; sed: 16
file content (27 lines) | stat: -rwxr-xr-x 590 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f
export DH_VERBOSE = 1
export LC_ALL = C
export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all
include /usr/share/dpkg/default.mk

export CFLAGS += -U__DATE__ -U__TIME__

%:
	dh $@

override_dh_auto_configure:
	sed -ri '/^POT-Creation-Date:/ d' po/*.po
	dh_auto_configure -B glibc-build -- --enable-libgdbm-compat --enable-largefile

override_dh_auto_build:
	dh_auto_build -B glibc-build

override_dh_auto_install:
	dh_auto_install -B glibc-build

override_dh_missing:
	dh_missing --list-missing

override_dh_auto_clean:
	rm -rf glibc-build/
	dh_auto_clean --