Charles Short b564292054 Convert fm-common to new debian pkg system
Convert fm-common to use the new debian packaging infrastructure.

Story: 2009101
Task: 43090

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I4c53d8b446504a4ef7ac407fa063f6a328e1dc3d
2021-10-19 12:36:58 -04:00

22 lines
397 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE = 1
export ROOT=debian/tmp
%:
dh $@ --with python3 --builsystem=pybuild
override_dh_auto_build:
$(MAKE)
python3 setup.py build
override_dh_auto_install:
make DESTDIR=$(ROOT) \
BINDIR=/usr/bin \
LIBDIR=/usr/lib \
INCDIR=/usr/include \
CGCS_DOC_DEPLOY=/opt/deploy/cgcs_doc install
python3 setup.py install --install-layout=deb --root $(ROOT)