File: rules

package info (click to toggle)
gssproxy 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,080 kB
  • ctags: 1,348
  • sloc: ansic: 16,369; python: 559; xml: 474; makefile: 359; sh: 79
file content (28 lines) | stat: -rwxr-xr-x 677 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
27
28
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

LDFLAGS += -Wl,--as-needed
CFLAGS += $(CPPFLAGS)

%:
	dh $@ --sourcedirectory=proxy --with autoreconf --parallel

override_dh_auto_configure:
	dh_auto_configure -- \
        --disable-static \
        --disable-rpath \
        --with-gpp-default-behavior=REMOTE_FIRST

override_dh_auto_install:
	dh_auto_install --sourcedirectory=proxy
	rm -r `find . -name '*.la'`
	rm -r `find . -type d -name rc.d`
	rm -r `find . -type d -name log`

# I have a patch upstream for this
override_dh_auto_test:
	cd proxy && $(MAKE) tests