6 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
172f5f3160
debian: Separate binary packages for each language manual
- When there are multiple binary packages, a common practice is to install into
  debian/tmp using the Makefile and then use dh_install and .install files. This
  splits the contents installed into debian/tmp to various package directories
  debian/{package}.

- Install documentation in to /usr/share/freedombox instead of
  /usr/share/doc/freedombox. Then create a link to /usr/share/doc/freedombox/.
  This approach is recommended Debian Policy Manual in section 12.3[1] because
  it should safe for administrator to delete files in /usr/share/doc safely
  without breaking the application functionality. The doc-base must refer to the
  documentation in /usr/share/doc as per doc-base documentation.

Links

1) https://www.debian.org/doc/debian-policy/ch-docs.html#additional-documentation

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-03-25 17:52:22 -04:00
Sunil Mohan Adapa
5f8965df25
debian: Rename plinth package to freedombox
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:59:08 -05:00
James Valleroy
5e13ba0424
debian: Use 'setup.py test' to run tests
Since pytest is a build-depend, pybuild uses it by default.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 23:03:24 -04:00
James Valleroy
094b586834
debian: Bump debhelper compat version to 11
Rely on dh_installsystemd instead of systemd-sequence.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-04-09 19:04:35 +05:30
Federico Ceratto
34ae273692
debian: Remove unneded rules target
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-03 18:31:01 +05:30
Federico Ceratto
17ee712502
debian: Switch to native package
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-03 18:30:35 +05:30