Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 1 | #!/usr/bin/make -f |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 2 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 3 | export DEB_HOST_MULTIARCH |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 4 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 5 | %: |
| 6 | dh $@ --with python2 --parallel |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 7 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 8 | override_dh_auto_configure: |
| 9 | dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPythonLibs_FIND_VERSION:STRING="2.7" -DPYTHON_EXECUTABLE:STRING="/usr/bin/python" |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 10 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 11 | override_dh_auto_install: |
| 12 | dh_auto_install |
| 13 | rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*pyc |
| 14 | rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*pyo |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 15 | |