File: rules

package info (click to toggle)
sphinx-autobuild 2021.3.14-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 364 kB
  • sloc: python: 374; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export PYBUILD_NAME=sphinx-autobuild

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

override_dh_auto_install:
	dh_auto_install

	mkdir -p debian/python3-$(PYBUILD_NAME)/usr/share/doc/python3-$(PYBUILD_NAME)
	cp README.md debian/python3-$(PYBUILD_NAME)/usr/share/doc/python3-$(PYBUILD_NAME)/README

override_dh_fixperms:
	dh_fixperms
	find -name '__init__.py' -exec chmod 0644 {} +

override_dh_auto_test:
	# disabled

override_dh_installchangelogs:
	dh_installchangelogs NEWS.rst