File: rules

package info (click to toggle)
pyro5 5.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,124 kB
  • sloc: python: 14,328; makefile: 161; sh: 66; javascript: 62
file content (37 lines) | stat: -rwxr-xr-x 880 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_NAME=pyro5

DOCDIR=$(CURDIR)/debian/pyro5-doc/usr/share/doc/pyro5-doc/
EXAMPLESDIR=$(CURDIR)/debian/pyro5-examples/usr/share/doc/pyro5/examples/

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

override_dh_auto_clean:
	$(RM) -r $(CURDIR)/Pyro5.egg-info/
	dh_auto_clean

override_dh_auto_build:
	dh_auto_build
	cd $(CURDIR)/docs/ && $(MAKE) html

# disable test during build due to network access
override_dh_auto_test:

override_dh_installdocs:
	dh_installdocs

override_dh_fixperms:
	find $(EXAMPLESDIR) -type f -exec chmod a-x {} \;
	dh_fixperms

override_dh_installinit:
	dh_installinit -ppython3-pyro5 --name=pyro5-ns --no-enable

override_dh_installsystemd:
	dh_installsystemd --name=pyro5-ns --no-enable --no-start

.PHONY: override_dh_auto_clean override_dh_auto_build \
	override_dh_installdocs override_dh_fixperms