File: rules

package info (click to toggle)
reiser4progs 1.2.2-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 5,904 kB
  • sloc: ansic: 34,331; sh: 4,251; makefile: 994
file content (19 lines) | stat: -rwxr-xr-x 471 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
#! /usr/bin/make -f

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

export DEB_BUILD_MAINT_OPTIONS=hardening=-format

DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
	export DEB_CFLAGS_MAINT_APPEND = -I$(CURDIR) -fPIC
    else
	export DEB_CFLAGS_MAINT_APPEND = -I$(CURDIR)
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-shared --enable-minimal --with-readline