File: rules

package info (click to toggle)
lift 2.5.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 244 kB
  • ctags: 94
  • sloc: python: 960; sh: 6; makefile: 5
file content (11 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f

# Remove leftovers from tests
export PYBUILD_AFTER_CLEAN=rm -rf "lift.egg-info"

# Edit the build date in manpages to make the build reproducible
export RELEASE_DATE=$(shell date -d "$(shell dpkg-parsechangelog -S Date)" -I)
export PYBUILD_AFTER_BUILD=sed -i 's/[0-9]\+-[0-9]\+-[0-9]\+/$(RELEASE_DATE)/' doc/lift.1 doc/lift.yaml.1

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