config/tsconfig/debian/deb_folder/rules
Charles Short 73eb89d863 Update debian packaging for tsconfig
- Update debian packaging python3
- Add missing files required to build package
- Adapt to the starlingx build system

Story: 2009101
Task: 43022

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: Idf2bf888e96ff3b9963190bb5c3ab31a859a1b31
2021-09-29 10:17:57 -04:00

19 lines
486 B
Makefile
Executable File

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export PYBUILD_NAME=tsconfig
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/tsconfig-wheel/usr/share/python-wheels
dh_install