File: rules

package info (click to toggle)
eflite 0.4.1-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 348 kB
  • ctags: 206
  • sloc: ansic: 1,923; makefile: 53
file content (22 lines) | stat: -rwxr-xr-x 554 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

DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_BUILD_HARDENING=1

%:
	dh $@

override_dh_auto_configure:
	flite_dir=/usr/lib/$(DEB_HOST_MULTIARCH) flite_include_dir=/usr/include/flite dh_auto_configure -- --with-vox=cmu_us_kal16

override_dh_auto_install:
	dh_auto_install -- prefix=$(CURDIR)/debian/eflite/usr

override_dh_auto_test:
	# Disable test since it requires sound hardware

override_dh_auto_clean:
	dh_auto_clean
	rm -f eflite config.status config.log config.guess config.sub Makefile