File: rules

package info (click to toggle)
json-schema-test-suite 2.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 936 kB
  • sloc: python: 214; javascript: 39; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

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

SHORT_PKG_DESC := $(shell grep '^Description' debian/control | cut -d':' -f2 | sed 's/^[[:space:]]//')

%:
	dh $@ --with python3

override_dh_auto_install:
	dh_auto_install
	ROOT_DIR=$(CURDIR) help2man bin/jsonschema_suite  \
	  --version-string="$(DEB_VERSION_UPSTREAM)" \
	  --name="$(SHORT_PKG_DESC)" \
	  --no-info \
	  > debian/jsonschema_suite.1