File: rules

package info (click to toggle)
uc-echo 1.12-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,904 kB
  • sloc: cpp: 1,405; python: 659; makefile: 44; sh: 8
file content (29 lines) | stat: -rwxr-xr-x 574 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
29
#!/usr/bin/make -f

# DH_VERBOSE := 1

include /usr/share/dpkg/architecture.mk
LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)
CPATH=/usr/include/$(DEB_HOST_MULTIARCH)
export LIBRARY_PATH CPATH

CXXFLAGS += $(ADDCXXFLAGS)

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_build:
	echo "I: DEB_HOST_ARCH: $(DEB_HOST_ARCH)"
	echo "I: ADDCXXFLAGS: $(ADDCXXFLAGS)"
	echo "I: CXXFLAGS: $(CXXFLAGS)"
	dh_auto_build

override_dh_auto_install:
	dh_auto_install
	dh_installchangelogs README

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/*/usr/lib/*/*.py