| 1 | #!/usr/bin/make -f |
| 2 | include ../common.mk |
| 3 | |
| 4 | check: |
| 5 | test -f debian/python3-foo/usr/lib/python3/dist-packages/foo.py |
| 6 | test ! -d debian/python3-foo/usr/lib/python3.*/site-packages |
| 7 | grep -q 'py3compile -p python3-foo\s*||\s*true$$' debian/python3-foo/DEBIAN/postinst |
| 8 | grep -q 'pypy3compile -p python3-foo\s*||\s*true$$' debian/python3-foo/DEBIAN/postinst |
| 9 | grep -q 'py3clean -p python3-foo\s*$$' debian/python3-foo/DEBIAN/prerm |
| 10 | |
| 11 | clean: |
| 12 | ./debian/rules clean |