File: rules

package info (click to toggle)
bup 0.32-3
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,380 kB
  • sloc: python: 10,357; sh: 9,959; ansic: 2,171; pascal: 668; makefile: 208
file content (21 lines) | stat: -rwxr-xr-x 599 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

%:
	dh $@ --with python3

override_dh_auto_configure:
	PYTHON="python3" ./configure

override_dh_auto_build-indep:
	$(MAKE) Documentation/all

override_dh_auto_clean:
	-rm config/config.cmd config/config.h config/config.log config/config.mak config/config.md config/config.sub config/config.vars
	dh_auto_clean -- PYTHON="python3"

override_dh_auto_install:
	$(CURDIR)/debian/gen_checkout_info.sh > $(CURDIR)/lib/bup/checkout_info.py
	$(MAKE) PYTHON="python3" PREFIX="/usr" DESTDIR="$(CURDIR)/debian/tmp" install

override_dh_python3:
	dh_python3 -X /usr/lib/bup/bup/py2raise.py