File: rules

package info (click to toggle)
pocketsphinx 0.8%2B5prealpha-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,276 kB
  • ctags: 2,161
  • sloc: ansic: 22,812; sh: 11,451; python: 599; makefile: 393; perl: 301
file content (21 lines) | stat: -rwxr-xr-x 472 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
#!/usr/bin/make -f

%:
	dh $@  --with autoreconf,python2

# Ignore testsuite failure on big-endian archs
ifneq (,$(filter $(shell dpkg-architecture -qDEB_HOST_ARCH),mips powerpc powerpcspe ppc64 s390x sparc sparc64))
override_dh_auto_test:
	-dh_auto_test
endif

override_dh_clean:
	dh_clean
	-rm -f python/pocketsphinx.c
	-$(RM) -r python/build

override_dh_auto_install:
	dh_auto_install
	for file in $$(find debian/tmp/usr/lib/ -name "*.la"); do \
		rm $$file ; \
	done