File: rules

package info (click to toggle)
slic3r-prusa 1.39.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,376 kB
  • sloc: cpp: 51,482; perl: 15,619; ansic: 1,370; makefile: 12; python: 11
file content (20 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

# less debug info to avoid running out of address space
ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
	export DEB_CXXFLAGS_MAINT_APPEND += -g1
endif

%:
	dh $@ --buildsystem=cmake --parallel

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- -DBUILD_TESTING=1 -DCMAKE_BUILD_TYPE=Release

override_dh_auto_test:
	dh_auto_test -- ARGS=-V

override_dh_perl:
	dh_perl /usr/lib/slic3r-prusa3d