Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 1 | #!/usr/bin/make -f |
Petter Reinholdtsen | 160598a | 2017-08-29 09:31:08 +0200 | [diff] [blame^] | 2 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 3 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 4 | export DEB_HOST_MULTIARCH |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 5 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 6 | %: |
| 7 | dh $@ --with python2 --parallel |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 8 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 9 | override_dh_auto_configure: |
| 10 | 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] | 11 | |
Piotr Krysik | 5de014a | 2016-06-21 07:13:48 +0200 | [diff] [blame] | 12 | override_dh_auto_install: |
| 13 | dh_auto_install |
Piotr Krysik | 062e32c | 2016-04-25 10:28:44 +0200 | [diff] [blame] | 14 | |
Petter Reinholdtsen | 160598a | 2017-08-29 09:31:08 +0200 | [diff] [blame^] | 15 | # Remove compiled python files |
| 16 | rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*py[co] |
| 17 | |
| 18 | # Use jquery.js file from libjs-jquery instead, see gr-gsm.links |
| 19 | rm -f debian/gr-gsm/usr/share/doc/gr-gsm/html/jquery.js |
| 20 | |
| 21 | debian/copyright: |
| 22 | cme update dpkg-copyright |