summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 83de9ac6c60c651d580f0d8cb760e2c0bc6a32b3 (plain)
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

%:
	dh $@ --parallel

override_dh_auto_configure:
	dh_auto_configure -- \
			-DMAKE_BUILD_TYPE=RelWithDebInfo \
			-DXTRKCAD_USE_GETTEXT=ON \
			-DXTRKCAD_USE_GTK=ON \
			-DXTRKCAD_USE_GTK_CAIRO=ON \
			-DXTRKCAD_USE_LAYOUTCONTROL=ON

override_dh_install:
	dh_install
	rm -f debian/xtrkcad/usr/share/xtrkcad/COPYING