Prepare deployment: Build basic deb packages
This commit is contained in:
parent
87d72be3fa
commit
dde639f3d1
17 changed files with 280 additions and 0 deletions
16
debian/rules
vendored
Executable file
16
debian/rules
vendored
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=userausfall
|
||||
export PYBUILD_DISABLE=test
|
||||
|
||||
%:
|
||||
dh $@ --package=python3-userausfall --with=python3 --buildsystem=pybuild
|
||||
dh $@ --package=userausfall
|
||||
dh $@ --package=userausfall-webapp
|
||||
|
||||
.PHONY: override_dh_auto_install
|
||||
override_dh_auto_install:
|
||||
dh_auto_install --package=python3-userausfall --destdir=debian/python3-userausfall
|
||||
if echo "$$DH_INTERNAL_OPTIONS" | sed 's/-O/\n/g' | grep -qF -- '--package=userausfall-webapp'; then \
|
||||
$(MAKE) assets-install DESTDIR=$$(realpath -m debian/userausfall-webapp/usr/share/userausfall-webapp); \
|
||||
fi
|
Reference in a new issue