File: rules

package info (click to toggle)
gr-satellites 5.8.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,836 kB
  • sloc: python: 29,546; cpp: 5,448; ansic: 1,247; sh: 118; makefile: 24
file content (24 lines) | stat: -rwxr-xr-x 672 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
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_HOST_MULTIARCH
#Enable some hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with python3 --with numpy3

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_MODULES_DIR="lib/$(DEB_HOST_MULTIARCH)/cmake" \
	                     -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON

override_dh_auto_test:
	- dh_auto_test

override_dh_installexamples:
	- dh_installexamples --exclude=.gitignore

override_dh_auto_clean:
	rm -rf docs/doxygen/doxyxml/__pycache__
	rm -rf docs/doxygen/doxyxml/generated/__pycache__
	rm -rf python/satyaml/__pycache__
	dh_auto_clean $@