Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONSscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all
4 export DEB_CFLAGS_MAINT_APPENDscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_CFLAGS_MAINT_APPEND. = -Wall -pedantic
5 export DEB_CXXFLAGS_MAINT_APPENDscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_CXXFLAGS_MAINT_APPEND. = -Wall -pedantic
6
7 # trust upstream optimization level unless explicitly disabled
8 ifeq (,$(filterscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/filter. noopt,$(DEB_BUILD_OPTIONSscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_BUILD_OPTIONS.)))
9 export DEB_CFLAGS_MAINT_STRIPscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_CFLAGS_MAINT_STRIP.=-O2
10 export DEB_CXXFLAGS_MAINT_STRIPscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_CXXFLAGS_MAINT_STRIP.=-O2
11 endif
12
13 # generate documentation unless nodoc requested
14 DOCS_stemscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DOCS_stem. = README $(basenamescip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/basename. $(wildcardscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/wildcard. docs/*.md))
15 ifeq (,$(filterscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/filter. nodoc,$(DEB_BUILD_OPTIONSscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DEB_BUILD_OPTIONS.)))
16 DOCSscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DOCS. = $(addsuffixscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/addsuffix. .html,$(DOCS_stemscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DOCS_stem.)) $(addsuffixscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/addsuffix. .txt,$(DOCS_stemscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DOCS_stem.))
17 MANPAGESscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/MANPAGES. = regalloc2-tool.1
18 endif
19
20 %scip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/`%`().:
21 dh $@
22
23 %.htmlscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/`%.html`().: %.md
24 cmark-gfm $< > $@
25
26 %.txtscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/`%.txt`().: %.md
27 cmark-gfm --to plaintext $< > $@
28
29 execute_after_dh_auto_buildscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/execute_after_dh_auto_build().: $(DOCSscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DOCS.)
30
31 # TODO: enable when upstream code supports non-tty execution
32 #execute_after_dh_auto_install: #$(MANPAGES)
33 override_dh_installmanscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/override_dh_installman().:
34
35 override_dh_installdocsscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/override_dh_installdocs().:
36 dh_installdocsscip-debian debian debhelper . dh_installdocs(). --all -- $(DOCSscip-debian debian rust-regalloc2 0.12.2+ds-1 rust-regalloc2/rules/DOCS.)
37
38 # build manpages
39 # TODO: enable when upstream code supports non-tty execution
40 #regalloc2-tool.1: %.1: debian/regalloc2-tool/usr/bin/%
41 # mkdir --parents $(dir $@)
42 # help2man --section 1 --no-info \
43 # --name "tool for testing regalloc2" \
44 # --output $@ $< \
45 # || { $1 --help; false; }