18 lines
428 B
Makefile
Executable File
18 lines
428 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE=1
|
|
|
|
export PYBUILD_NAME=redfishtool
|
|
# export PYBUILD_SYSTEM=python3
|
|
|
|
export PBR_VERSION=1.0.0
|
|
ROOT := $(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_install:
|
|
python3 setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp
|
|
python3 setup.py bdist_wheel --universal -d $(CURDIR)/debian/redfishtool-wheels/usr/share/python3-wheels
|
|
dh_install
|
|
|