Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 FILES_MODIFIED_BY_BUILD = $(shell find t -type f -regex '.*\.\(cid\|extern\|location\)' | sed 's/\.keep//')
4
5 override_dh_auto_configure:
6 dh_auto_configure
7 for file in $(FILES_MODIFIED_BY_BUILD); do \
8 if [ -e $$file ] && [ ! -e $$file.keep ] ; then \
9 cp $$file $$file.keep ; \
10 fi \
11 done
12
13 override_dh_auto_test:
14 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
15 # Recreate ref files
16 # Ignore non-zero exit code that occurs since no tests are run
17 -perl -Iblib/lib t/20create_image_part.t 1
18 -perl -Iblib/lib t/50generic.t 1
19 dh_auto_test
20 endif
21
22 override_dh_auto_clean:
23 dh_auto_clean
24 for file in $(FILES_MODIFIED_BY_BUILD); do \
25 if [ -e $$file.keep ] ; then \
26 rm -f $$file; \
27 mv $$file.keep $$file; \
28 fi \
29 done
30
31 %:
32 dh $@