File: rules

package info (click to toggle)
python-a38 0.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 460 kB
  • sloc: python: 3,677; xml: 162; makefile: 78; sh: 11
file content (25 lines) | stat: -rwxr-xr-x 520 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
22
23
24
25
#!/usr/bin/make -f

export PYBUILD_NAME=a38

include /usr/share/dpkg/pkg-info.mk

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

override_dh_auto_install: debian/a38tool.1
	dh_auto_install

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	nose2-3
endif

debian/a38tool.1:
	help2man \
	    -n 'Handle fattura elettronica files' \
	    --output=debian/a38tool.1 \
	    --no-info --no-discard-stderr \
	    --version-string=$(DEB_VERSION) \
	    --include debian/a38tool.man.include \
	    ./a38tool