Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # DH_VERBOSE := 1
4
5 DEB_CMAKE_EXTRA_FLAGS = -Dbioparser_build_tests=ON
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11 dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
12
13 override_dh_auto_test:
14 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
15 set -e -x; for f in obj-*/bin/*_test; do [ ! -x $$f ] || $$f; done
16 endif
17
18 execute_after_dh_install:
19 mv debian/`dh_listpackages`/usr/lib/*/cmake debian/`dh_listpackages`/usr/share
20 rm -rf debian/`dh_listpackages`/usr/lib
21 find debian -name meson.build -delete