Codebase list brise / a412b35
d/rules: Remove all custom rule modifications Boyuan Yang 5 years ago
1 changed file(s) with 0 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
33 %:
44 dh $@
55
6 override_dh_auto_clean:
7 dh_auto_clean
8 rm -rf data essay.kct default.custom.yaml
9
10 override_dh_auto_build:
11 # create a default.custom.yaml here, and use it
12 # to build all the schemas
13 echo "patch:" > default.custom.yaml
14 echo " schema_list:" >> default.custom.yaml
15 find -name '*.schema.yaml' \
16 | xargs -l1 basename -s .schema.yaml \
17 | perl -pe 's/^/ - schema: /' \
18 | sort | uniq >> default.custom.yaml
19 mkdir -p data
20 cp -v default.custom.yaml data
21
22 cp -v extra/*.yaml data
23 dh_auto_build
24 # restore the original copy of default.yaml
25 cp -v default.yaml data
26 rm -fv data/default.custom.yaml
27
286 override_dh_install:
297 dh_install --fail-missing