File: rules

package info (click to toggle)
jq 1.7.1-6%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,720 kB
  • sloc: ansic: 27,788; yacc: 892; sh: 663; python: 321; cpp: 314; lex: 186; makefile: 180; javascript: 34
file content (26 lines) | stat: -rwxr-xr-x 562 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile -*-
DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-include /usr/share/dpkg/buildflags.mk

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
    NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
    MAKEFLAGS += -j$(NUMJOBS)
endif

override_dh_auto_configure:
	dh_auto_configure -- --disable-static

override_dh_install:
	find debian/tmp -name '*.la' -print -delete
	dh_install

override_dh_auto_test:
	VERBOSE=1 dh_auto_test

override_dh_clean:
	dh_clean -- src/builtin.inc

%:
	dh $@