File: rules

package info (click to toggle)
libvcflib 1.0.0~rc1%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,836 kB
  • ctags: 1,488
  • sloc: cpp: 27,298; makefile: 177; ansic: 139; python: 46; perl: 26; sh: 19
file content (31 lines) | stat: -rwxr-xr-x 811 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
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

# DH_VERBOSE := 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_clean:
	dh_clean
	find . -name "*.o" -delete

override_dh_auto_build:
	dh_auto_build
	markdown_py -f README.html README.md

override_dh_auto_test:
	export LD_LIBRARY_PATH=$(CURDIR)/lib/:$LD_LIBRARY_PATH dh_auto_test

override_dh_install:
	dh_install
	find debian -name filevercmp.h -delete
	cp -a filevercmp/filevercmp.h debian/libvcflib-dev/usr/include/vcflib/
	mkdir -p debian/libvcflib-dev/usr/include/intervaltree
	mv debian/libvcflib-dev/usr/include/vcflib/IntervalTree.h debian/libvcflib-dev/usr/include/intervaltree
	mv debian/libvcflib-tools/usr/lib/vcflib/binaries debian/libvcflib-tools/usr/lib/vcflib/bin

override_dh_fixperms:
	dh_fixperms
	chmod -x debian/*/usr/lib/R/site-library/*/*.R