File: rules

package info (click to toggle)
aptfs 2%3A1.0.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 132 kB
  • sloc: python: 390; sh: 10; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 283 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

ifeq (,$(findstring ^$(firstword $(subst +, ,$(DEB_VERSION_UPSTREAM))),^$(shell python3 setup.py --version)))
$(error (version in setup.py out of sync with Debian version))
endif

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