File: rules

package info (click to toggle)
ska 1.0%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: cpp: 5,556; makefile: 92; sh: 19
file content (18 lines) | stat: -rwxr-xr-x 413 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

%:
	dh $@

override_dh_auto_install:
	# do not use broken Makefile which forces /usr/local/bin

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	cp -a tests tests.bak
	cd tests && ln -s /usr/src/googletest/googletest && make && \
	./general_unittest && ./kmers_unittest && ./DNA_unittest
	rm -rf tests && mv tests.bak tests
endif