File: rules

package info (click to toggle)
patch 2.7.6-6
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 7,072 kB
  • sloc: ansic: 40,046; sh: 6,547; yacc: 1,842; makefile: 140; sed: 54
file content (27 lines) | stat: -rwxr-xr-x 606 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk

ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
CONFFLAGS = --build $(DEB_HOST_GNU_TYPE)
else
CONFFLAGS = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif

export DEB_CFLAGS_MAINT_APPEND = -Wall -g

override_dh_auto_clean:
	[ ! -f Makefile ] || dh_auto_clean

override_dh_auto_configure:
	ac_cv_sys_long_file_names=yes ac_cv_path_ED=ed \
		dh_auto_configure -- $(CONFFLAGS)

%:
	dh $@

.PHONY: override_dh_auto_clean override_dh_auto_configure