Dan Voiculeasa 4a55539a8b debian: Fix fm-common binaries location
Keep the same binary location as on CentOS.
An fm component was updated to produce binaries to correct location,
but fm-common component was missed. Alarms could not be raised by sm.

Tests:
PASS: bootstrap
PASS: unlock
PASS: alarms are raised by sm

Story: 2009101
Task: 44321
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I56eb2a5cd69c643d477fba20a7344cd51be5444d
2022-04-12 21:32:22 +00:00

22 lines
412 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) \
LIBDIR=/usr/lib \
INCDIR=/usr/include \
CGCS_DOC_DEPLOY=/opt/deploy/cgcs_doc install
python3 setup.py install --install-layout=deb --root $(ROOT)
override_dh_usrlocal:
# do nothing