16 lines
373 B
Makefile
Executable File
16 lines
373 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
#export DH_VERBOSE = 1
|
|
|
|
export PYBUILD_NAME=fm-api
|
|
DEBIAN_DESTDIR := $(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_install:
|
|
python3 setup.py install -f --install-layout=deb --root=${DEBIAN_DESTDIR}
|
|
python3 setup.py bdist_wheel \
|
|
--universal \
|
|
-d ${CURDIR}/debian/fm-api-wheel/usr/share/python-wheels
|
|
dh_install
|