File: rules

package info (click to toggle)
icdiff 1.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 552 kB
  • sloc: python: 549; sh: 159; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 398 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

mandir := $(CURDIR)/debian/man

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

override_dh_installman:
	mkdir -p $(mandir)
	PYTHONPATH=. help2man -N -o debian/man/icdiff.1 \
	  -n 'terminal side-by-side colorized word diff' \
	  --no-discard-stderr \
	  ./icdiff
	dh_installman --

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	./test.sh python3
endif