Bruno Cornec 426b703707 Add debian/ubuntu packages built with project-builder.org - tested with Ubuntu 18.04
Change-Id: Ibe1b549bd7a67dd481bd89b15f601ea48937c0cb
2019-04-19 16:08:26 +02:00

15 lines
488 B
Makefile

#!/usr/bin/make -f
export PYBUILD_NAME=redfish
export DH_VERBOSE=1
#export PYBUILD_DISABLE=install
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
cd doc ; make man ; make singlehtml ; make latexpdf
PYPI_DESC = PBSUMMARY
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
help2man = PYTHONPATH=${CURDIR} help2man -N --version-string=${DEB_UPSTREAM_VERSION} \
-o $1 -n '$2' $(CURDIR)/debian/PBPKG/usr/bin/$(subst .1,,$1)