File: rules

package info (click to toggle)
imagevis3d 2.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,872 kB
  • sloc: cpp: 53,586; sh: 788; ansic: 292; xml: 258; python: 35; makefile: 16
file content (25 lines) | stat: -rwxr-xr-x 675 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
#!/usr/bin/make -f
#export DH_VERBOSE=1

-include /usr/share/dpkg/buildflags.mk

%:
	dh $@  --parallel

override_dh_auto_configure:
	dh_auto_configure -- QMAKE_CXXFLAGS="-DPACKAGE_MANAGER $(CXXFLAGS)" QMAKE_CFLAGS="$(CFLAGS)" QMAKE_LDFLAGS="$(LDFLAGS)"

override_dh_install:
	# rename to match man page:
	cp -a Build/ImageVis3D Build/imagevis3d 
	dh_install Build/imagevis3d usr/bin
	dh_install CmdLineConverter/Build/uvfconvert usr/bin
	dh_install Tuvok/Shaders/* usr/share/imagevis3d/shaders
	dh_install # qmake install rules do nothing ??

override_dh_installman:
	dh_installman doc/imagevis3d.1
	dh_installman doc/uvfconvert.1

get-orig-source:
	./debian/get-orig-source