Files
flectra/debian/rules
T

21 lines
618 B
Makefile
Raw Normal View History

2018-01-16 11:28:15 +05:30
#!/usr/bin/make -f
export DH_VERBOSE=1
2020-12-30 03:52:20 -08:00
export PYBUILD_NAME=flectra-bin
2018-01-16 11:28:15 +05:30
export PYBUILD_DISABLE=test
%:
dh ${@} --with=python3 --buildsystem=pybuild
override_dh_auto_build:
2020-12-30 03:52:20 -08:00
cp -r addons/* flectra/addons/
dh_auto_build
override_dh_auto_install:
dh_auto_install
2020-12-30 03:52:20 -08:00
rm debian/flectra/usr/lib/python3*/dist-packages/flectra/addons/point_of_sale/static/src/fonts/Inconsolata.otf
for LINKTARGET in `awk '{ print $2 }' flectra.links`; do rm debian/flectra/${LINKTARGET} ; done
find debian/flectra -name LICENSE.txt -exec rm {} \;
override_dh_auto_clean:
dh_auto_clean
2020-12-30 03:52:20 -08:00
for d in addons/* ; do rm -fr flectra/$$d ; done