diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /debian/rules | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..dbe34b54 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +export DH_VERBOSE=1 +export PYBUILD_NAME=odoo-bin +export PYBUILD_DISABLE=test + +%: + dh ${@} --with=python3 --buildsystem=pybuild + +override_dh_auto_build: + cp -r addons/* odoo/addons/ + dh_auto_build + +override_dh_auto_install: + dh_auto_install + rm debian/odoo/usr/lib/python3*/dist-packages/odoo/addons/point_of_sale/static/src/fonts/Inconsolata.otf + for LINKTARGET in `awk '{ print $2 }' odoo.links`; do rm debian/odoo/${LINKTARGET} ; done + find debian/odoo -name LICENSE.txt -exec rm {} \; + +override_dh_auto_clean: + dh_auto_clean + for d in addons/* ; do rm -fr odoo/$$d ; done |
