Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=sortedm2m
4
5 %:
6 dh $@ --buildsystem=pybuild
7
8 execute_after_dh_auto_clean:
9 find -name '.DS_Store' -print -delete
10
11 override_dh_auto_install:
12 dh_auto_install
13 set -e; for python in $(shell py3versions -r); do \
14 rm -r debian/python3-sortedm2m/usr/lib/$$python/dist-packages/sortedm2m/static; \
15 rm -r debian/python3-sortedm2m/usr/lib/$$python/dist-packages/sortedm2m/templates; \
16 ln -s /usr/share/sortedm2m/static debian/python3-sortedm2m/usr/lib/$$python/dist-packages/sortedm2m/static; \
17 ln -s /usr/share/sortedm2m/templates debian/python3-sortedm2m/usr/lib/$$python/dist-packages/sortedm2m/templates; \
18 done
19
20 override_dh_installchangelogs:
21 dh_installchangelogs CHANGES.rst
22
23 override_dh_installdocs:
24 dh_installdocs -A AUTHORS.rst README.rst