File: rules

package info (click to toggle)
spandsp 0.0.6+dfsg-0.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,784 kB
  • ctags: 9,250
  • sloc: ansic: 123,211; xml: 13,229; sh: 12,191; cpp: 1,521; makefile: 1,098
file content (30 lines) | stat: -rwxr-xr-x 630 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
23
24
25
26
27
28
29
30
#!/usr/bin/make -f
%:
	dh $@ --parallel --with autoreconf

INC_DIR=$(CURDIR)/debian/tmp/usr/include
INC_DIR_ARCH=$(INC_DIR)/$(DEB_BUILD_MULTIARCH)

override_dh_auto_configure:
	dh_auto_configure -- --enable-doc

override_dh_auto_build:
	dh_auto_build
	$(MAKE) html

override_dh_auto_install:
	dh_auto_install
	mkdir -p $(INC_DIR_ARCH)
	mv $(INC_DIR)/spandsp.h $(INC_DIR_ARCH)/

override_dh_clean:
	$(RM) -rf doc/api/html/
	$(RM) -f doc/t38_manual/*.html
	dh_clean 

override_dh_changelogs:
	dh_installchangelogs ChangeLog

override_dh_link:
	$(RM) -f debian/libspandsp-doc/usr/share/doc/libspandsp-doc/api/html/jquery.js
	dh_link