Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONSscip-makefile . . . DEB_BUILD_MAINT_OPTIONS. = hardening=+bindnow
4 export PYBUILD_NAMEscip-makefile . . . PYBUILD_NAME.=ariba
5
6 ifneq ($(shell py3versions -d),$(shell py3versions -s))
7 export PYBUILD_TEST_ARGS_$(filter-out $(shell py3versions -d),$(shell py3versions -s))=-k "not test_load_fasta_files_and_write_clusters_file"
8 endif
9
10
11 mandirscip-makefile . . . mandir. := $(CURDIRscip-makefile . . . CURDIR.)/debian/man
12 debfolderscip-makefile . . . debfolder. := $(CURDIRscip-makefile . . . CURDIR.)/debian
13
14 %scip-makefile . . . `%`/:
15 dh $@scip-makefile . . . `@`. --buildsystem=pybuild
16
17 execute_before_dh_auto_cleanscip-makefile . . . execute_before_dh_auto_clean/:
18 rm -rf $(mandirscip-makefile . . . mandir.)
19
20 execute_before_dh_installmanscip-makefile . . . execute_before_dh_installman/:
21 mkdir -p $(mandirscip-makefile . . . mandir.)
22 asciidoctor -a docdate='' -b manpage -o $(mandirscip-makefile . . . mandir.)/ariba.1 $(debfolderscip-makefile . . . debfolder.)/ariba.1.adoc
23
24 # Normalize timestamps of test data files modified during test runs (reproducibility fix)
25 execute_after_dh_fixpermsscip-makefile . . . execute_after_dh_fixperms/:
26 find debian/ariba -path '*/pubmlst_ref_prepare.test_load_fa_and_clusters.in/gene*.tfa' \
27 -printf 'Normalizing timestamp: %p\n' \
28 -exec touch --date="@$(SOURCE_DATE_EPOCH)" {} +