Update rules

This commit is contained in:
ferrreo 2023-06-11 18:07:02 +01:00 committed by GitHub
parent a1d0d5918b
commit c174a627db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
debian/rules vendored
View File

@ -71,7 +71,6 @@ pkgdir = $(srcdir)/debian/nwg-displays
# mkdir -p $(pkgdir1)/usr/bin # mkdir -p $(pkgdir1)/usr/bin
# cp $(srcdir)/pikman $(pkgdir1)/usr/bin/ # cp $(srcdir)/pikman $(pkgdir1)/usr/bin/
override_dh_auto_install: override_dh_auto_install:
python setup.py install --root=$(pkgdir) --optimize=1
install -d $(pkgdir)/usr/share/pixmaps install -d $(pkgdir)/usr/share/pixmaps
cp $(srcdir)/nwg-displays.svg $(pkgdir)/usr/share/pixmaps cp $(srcdir)/nwg-displays.svg $(pkgdir)/usr/share/pixmaps
install -d $(pkgdir)/usr/share/applications install -d $(pkgdir)/usr/share/applications
@ -79,5 +78,7 @@ override_dh_auto_install:
## === End end of region === ## === End end of region ===
## This here will start the build: ## This here will start the build:
export PYBUILD_NAME = nwg-displays
%: %:
dh $@ dh $@ --with python3 --buildsystem=pybuild