Files
python3-damaris/debian/rules
T
markusro 9cc449d6e1
Build Debian Packages / build (bookworm, debian12) (push) Successful in 8m30s
Build Debian Packages / build (trixie, debian13) (push) Successful in 9m14s
build HTML docs at package build time and open them from the Help menu
- debian/rules: build sphinx HTML into build/html
- debian/install: install it as usr/share/doc/python3-damaris/html/
  instead of shipping the raw doc/ source tree (whose gitignored
  doc/_build never existed on CI checkouts)
- debian/control: declare ${sphinxdoc:Depends} and python3-sphinx
  (provides sphinx-build) explicitly
- requirements.debian: install python3-sphinx explicitly
- DamarisGUI: point the manual at the packaged HTML path with a
  source-tree fallback, populate the Help dropdown menu, and open
  the DAMARIS manual on a plain toolbar click
- doc/manual.rst: document the Help menu

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-10-18 17:20:33 +02:00

25 lines
512 B
Makefile
Executable File

#!/usr/bin/make -f
# Achim Gaedke
# May 2007
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
PYVERS=$(shell py3versions -vr)
PACKAGE_NAME=python3-damaris
PYBUILD_NAME=python3-damaris
MODULE_NAME=damaris3
PYBASE=$(CURDIR)/debian/${PACKAGE_NAME}
DH_ALWAYS_EXCLUDE=CVS:.git:venv:.venv:*.h5
%:
dh $@ --buildsystem=pybuild --with sphinxdoc
override_dh_auto_build:
dh_auto_build
sphinx-build -N -bhtml doc/ build/html
override_dh_auto_test:
PYBUILD_TEST_ARGS="-v $(CURDIR)/tests" dh_auto_test