File: rules

package info (click to toggle)
mkdocs-bootstrap 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,408 kB
  • ctags: 329
  • sloc: python: 25; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mkdocs/themes/

PREFIX = debian/mkdocs-bootstrap

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

override_dh_auto_install:
	dh_auto_install
	set -e; for FILENAME in fontawesome-webfont.ttf fontawesome-webfont.svg fontawesome-webfont.eot fontawesome-webfont.woff; do \
		find $(PREFIX) -name $$FILENAME -exec \
			ln -sf /usr/share/fonts-font-awesome/fonts/$$FILENAME {} \;; \
	done

override_dh_python3:
	dh_python3 -N mkdocs-bootstrap
	dh_python3 -p mkdocs-bootstrap /usr/share/mkdocs/themes/