Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/default.mk
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
5 export DEB_CFLAGS_MAINT_APPEND += -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
6 export DEB_CXXFLAGS_MAINT_APPEND += -DSIMDE_ENABLE_OPENMP -fopenmp-simd -O3
7 ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc sh4))
8 export LDLIBS=-latomic
9 endif
10
11 %:
12 dh $@
13
14 override_dh_auto_clean:
15 dh_auto_clean
16 rm -f fml-asm.1
17
18 override_dh_auto_install:
19 ln -s libfml.so.* libfml.so
20 d-shlibmove --commit \
21 --multiarch \
22 --devunversioned \
23 libfml.so
24
25 override_dh_installman:
26 help2man --version-string='0.1' \
27 -n 'assemble Illumina short reads in small regions' \
28 -N --no-discard-stderr -h '' ./fml-asm > fml-asm.1
29 dh_installman
30
31 override_dh_auto_test:
32 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
33 ./fml-asm test/MT-simu.fq.gz > MT.fq
34 test "$$(wc -l < MT.fq)" = "4"
35 rm -f MT.fq
36 endif