File: rules

package info (click to toggle)
guvcview 2.0.4%2Bdebian-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,940 kB
  • ctags: 2,911
  • sloc: ansic: 26,210; sh: 11,252; cpp: 3,226; makefile: 300; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 526 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_auto_configure:
	cp -rf /usr/share/aclocal/intltool.m4 m4/intltool.m4
	dh_auto_configure -- \
		--disable-silent-rules \
		--prefix=/usr \
		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
		GVIEWENCODER_CFLAGS="-D_FILE_OFFSET_BITS=64"

override_dh_install:
	rm -rf debian/tmp/usr/share/doc/guvcview/NEWS \
		debian/tmp/usr/share/doc/guvcview/COPYING \
		debian/tmp/usr/share/doc/guvcview/INSTALL \
		debian/tmp/usr/share/doc/guvcview/ChangeLog

	dh_install

override_dh_auto_test: