File: rules

package info (click to toggle)
sympathy 1.2.1%2Bwoking%2Bcvs%2Bgit20161222
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 892 kB
  • ctags: 894
  • sloc: ansic: 7,496; sh: 4,024; perl: 374; makefile: 123; sed: 3
file content (22 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download | duplicates (2)
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:
	./autogen.sh
	dh_auto_configure

examples=debian/sympathy/usr/share/doc/sympathy/examples

override_dh_auto_install:
	dh_auto_install
	find debian/sympathy \(					\
		-name libsympathy-config			\
		-o -name \*.a -o -name \*.la -o -name \*.h	\
		\) -print0 | xargs -0r rm --
	install -m 755 -d $(examples)
	install -m 755 serialmgr/run_sympathy serialmgr/serialmgrd $(examples)/.

override_dh_compress:
	dh_compress -Xexamples