2016-04-25 08:28:44 +00:00
|
|
|
#!/usr/bin/make -f
|
2017-08-29 07:31:08 +00:00
|
|
|
|
2016-06-21 05:13:48 +00:00
|
|
|
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
|
|
export DEB_HOST_MULTIARCH
|
2016-04-25 08:28:44 +00:00
|
|
|
|
2016-06-21 05:13:48 +00:00
|
|
|
%:
|
|
|
|
dh $@ --with python2 --parallel
|
2016-04-25 08:28:44 +00:00
|
|
|
|
2016-06-21 05:13:48 +00:00
|
|
|
override_dh_auto_configure:
|
|
|
|
dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPythonLibs_FIND_VERSION:STRING="2.7" -DPYTHON_EXECUTABLE:STRING="/usr/bin/python"
|
2016-04-25 08:28:44 +00:00
|
|
|
|
2016-06-21 05:13:48 +00:00
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install
|
2016-04-25 08:28:44 +00:00
|
|
|
|
2017-08-29 07:31:08 +00:00
|
|
|
# Remove compiled python files
|
|
|
|
rm -f debian/gr-gsm/usr/lib/python2.7/dist-packages/grgsm/*py[co]
|
|
|
|
|
|
|
|
# Use jquery.js file from libjs-jquery instead, see gr-gsm.links
|
|
|
|
rm -f debian/gr-gsm/usr/share/doc/gr-gsm/html/jquery.js
|
|
|
|
|
|
|
|
debian/copyright:
|
|
|
|
cme update dpkg-copyright
|