File: rules

package info (click to toggle)
python-markdown 2.6.8-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,836 kB
  • ctags: 805
  • sloc: python: 5,417; makefile: 67; sh: 12
file content (20 lines) | stat: -rwxr-xr-x 482 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
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

export PYBUILD_NAME=markdown
export PYBUILD_TEST_ARGS={interpreter} $(CURDIR)/run-tests.py --verbose

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

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/python3-markdown/usr/bin/

override_dh_auto_test:
	PYBUILD_SYSTEM=custom dh_auto_test

override_dh_compress:
	dh_compress -X.txt

.PHONY: override_dh_auto_install override_dh_auto_test override_dh_compress