Debian Codegraph @

debian/rules

raw symbols SCIP
1 #! /usr/bin/make -f
2
3 DEBIANDIR = $(shell pwd)/debian
4
5 %:
6 dh $@
7
8 override_dh_auto_configure-indep:
9
10 execute_after_dh_auto_build-indep:
11 : # Dummy to force the target to always be run
12 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
13 doxygen
14 endif
15
16 ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
17 override_dh_installdocs:
18 dh_installdocs -plibrapidfuzz-cpp-doc --doc-main-package=librapidfuzz-cpp-dev
19 dh_installdocs --remaining-packages
20 endif
21
22 override_dh_auto_test-arch:
23 : # Dummy to force the target to alway be run
24 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
25 mkdir -p buildtest
26 cd buildtest && \
27 CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
28 cmake ../ -DRAPIDFUZZ_BUILD_TESTING=ON
29 cd buildtest && cmake --build . --verbose
30 cd buildtest && ctest --output-on-failure || ctest --rerun-failed --output-on-failure
31 endif
32
33 override_dh_auto_test-indep:
34
35 execute_before_dh_auto_clean:
36 rm -rf doxygen buildtest