File: rules

package info (click to toggle)
openexr-viewers 2.3.0-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,220 kB
  • sloc: sh: 11,112; cpp: 4,682; makefile: 102
file content (22 lines) | stat: -rwxr-xr-x 602 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf ./bootstrap

override_dh_auto_configure:
	dh_auto_configure -- --disable-openexrctltest

override_dh_auto_install:
	dh_auto_install
	# remove development-like files
	rm -rf debian/openexr-viewers/usr/include/
	# move documentation to the right place
	mv debian/openexr-viewers/usr/share/doc/OpenEXR_Viewers-*/ debian/openexr-viewers/usr/share/doc/openexr-viewers
	# remove documentation bits which we are not interested about
	rm debian/openexr-viewers/usr/share/doc/openexr-viewers/*.odt

override_dh_compress:
	dh_compress -X.pdf