File: rules

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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with python2,python3

override_dh_auto_install:
	python setup.py install --root=$(CURDIR)/debian/python-sphinx-bootstrap-theme --install-layout=deb
	python3 setup.py install --root=$(CURDIR)/debian/python3-sphinx-bootstrap-theme --install-layout=deb

	find $(CURDIR)/debian/*-sphinx-bootstrap-theme/usr/lib/python*/dist-packages/sphinx_bootstrap_theme/bootstrap/static/ -type f -exec chmod -x {} \;

override_dh_installdocs:
	dh_installdocs README.txt

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build sphinx_bootstrap_theme.egg-info