Skip to content

Commit

Permalink
Update debian packaging
Browse files Browse the repository at this point in the history
- Include translation files
- Rename manual
  • Loading branch information
hsbasu committed Jan 1, 2024
1 parent 7ac520d commit 59e6727
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions debian/python3-simple-pwgen.install
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
usr/bin/simple-pwgen
usr/lib
usr/share/locale
9 changes: 5 additions & 4 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export PYBUILD_NAME=simple-pwgen
export PYBUILD_INSTALL_ARGS_python3=--install-scripts=usr/bin

%:
dh $@ --buildsystem=pybuild
dh $@ --with=python3 --buildsystem=pybuild


# If you need to rebuild the Sphinx documentation
Expand All @@ -24,9 +24,10 @@ export PYBUILD_INSTALL_ARGS_python3=--install-scripts=usr/bin
# docs/ usr/share/man/man1 # Manpage generator

override_dh_install:
dh_install
install -D -m 0644 debian/simple-pwgen-cli.1 debian/python3-simple-pwgen/usr/share/man/man1/simple-pwgen-cli.1
dh_install -O--buildsystem=pybuild
rm -rf debian/simple-pwgen/usr/lib/python*/dist-packages/SimplePwgen/__pycache__
install -D -m 0644 debian/simple-pwgen.1 debian/python3-simple-pwgen/usr/share/man/man1/simple-pwgen.1
rm -f debian/simple-pwgen/usr/share/glib-2.0/schemas/gschemas.compiled

override_dh_auto_install:
dh_auto_install --destdir=$(CURDIR)/$(DEB_SOURCE)
dh_auto_install --destdir=$(CURDIR)/$(DEB_SOURCE) -O--buildsystem=pybuild
File renamed without changes.

0 comments on commit 59e6727

Please sign in to comment.