File: rules

package info (click to toggle)
pagekite 1.5.2.200603-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,212 kB
  • sloc: python: 27,676; sh: 999; javascript: 836; makefile: 149
file content (19 lines) | stat: -rwxr-xr-x 662 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DH_VERBOSE=1

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

override_dh_installman:
	python3 -m pagekite.manual --nopy --man >doc/pagekite.1
	dh_installman doc/*.?

# After the basic Python installation, add files for /etc/
override_dh_auto_install:
	PYBUILD_INSTALL_ARGS="--install-lib={install_dir}" dh_auto_install --buildsystem=pybuild
	mkdir -m 755 -p $(CURDIR)/debian/pagekite/etc/pagekite.d/
	install -m 644 $(CURDIR)/etc/pagekite.d/[23456789]* \
                        $(CURDIR)/debian/pagekite/etc/pagekite.d/
	install -m 600 $(CURDIR)/etc/pagekite.d/10* \
                        $(CURDIR)/debian/pagekite/etc/pagekite.d/