ef43979d39
Add control, rules and install files to generate fm-common deb following StarlingX/MultiOS/Debian Wiki. Change-Id: Ic86a610aeef02a849faaec985579862e5b317db7 Story: 2004792 Task: 33569 Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
26 lines
542 B
Makefile
26 lines
542 B
Makefile
#!/usr/bin/make -f
|
|
|
|
export MAJOR=1
|
|
export MINOR=0
|
|
export ROOT=debian/tmp
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_install:
|
|
make DESTDIR=${ROOT} \
|
|
BINDIR=/usr/bin \
|
|
LIBDIR=/usr/lib \
|
|
INCDIR=/usr/include \
|
|
CGCS_DOC_DEPLOY=/opt/deploy/cgcs_doc \
|
|
MAJOR=${MAJOR} MINOR=${MINOR} install
|
|
python setup.py build
|
|
python setup.py bdist_wheel
|
|
python setup.py install --root ${ROOT} --install-data=/usr/share --prefix=/usr
|
|
mkdir -p ${ROOT}/wheels/
|
|
install -m 644 dist/*.whl ${ROOT}/wheels/
|
|
|
|
override_dh_installdocs:
|
|
|
|
override_dh_installchangelogs:
|