full_updater/debian/rules
enzo 9b449b39ce
Some checks failed
Build and Release .deb / build-deb (push) Failing after 21s
fix(debian): remove pybuild, use manual install in rules
- Remove dh-python and pybuild from debian/rules
- Remove python3-all from build deps
- Manual install of scripts and full_updater module
- Update Depends to use python3 directly
2026-05-13 00:43:44 +02:00

22 lines
887 B
Makefile
Executable file

#!/usr/bin/make -f
export DH_VERBOSE = 1
%:
dh $@
override_dh_auto_install:
install -d -m 755 $(CURDIR)/debian/full-updater/opt/full-updater
install -d -m 755 $(CURDIR)/debian/full-updater/opt/full-updater/scripts
install -d -m 755 $(CURDIR)/debian/full-updater/usr/local/bin
install -D -m 755 scripts/fullupdater $(CURDIR)/debian/full-updater/opt/full-updater/scripts/fullupdater
install -D -m 755 scripts/fullupdater-update $(CURDIR)/debian/full-updater/usr/local/bin/fullupdater-update
install -D -m 644 requirements.txt $(CURDIR)/debian/full-updater/opt/full-updater/requirements.txt
cp -r full_updater $(CURDIR)/debian/full-updater/opt/full-updater/
find $(CURDIR)/debian/full-updater/opt/full-updater -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
override_dh_auto_build:
# Pas de build necessaire
override_dh_auto_clean:
# Pas de clean necessaire