File: rules

package info (click to toggle)
sdaps 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,856 kB
  • sloc: python: 7,996; ansic: 2,169; sh: 81; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=sdaps
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

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

override_dh_auto_test:
	python setup.py build
	cd test; export TEXINPUTS="$(realpath tex):"; ./run-test-locally.sh

override_dh_auto_install:
	dh_auto_install
	rm -rf debian/sdaps/usr/share/sdaps/tex/

override_dh_installchangelogs:
	dh_installchangelogs NEWS