File: rules

package info (click to toggle)
bup 0.33.9-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,712 kB
  • sloc: python: 15,897; sh: 5,764; ansic: 2,965; pascal: 669; makefile: 21
file content (20 lines) | stat: -rwxr-xr-x 485 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export BUP_PYTHON_CONFIG := python3-config
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND := -Wno-error

%:
	dh $@ --with python3

lib/bup/checkout_info.py: debian/gen_checkout_info.sh
	debian/gen_checkout_info.sh > $@

override_dh_auto_configure: lib/bup/checkout_info.py
	./configure

override_dh_auto_build-indep:
	$(MAKE) Documentation/all

override_dh_auto_install:
	$(MAKE) PREFIX="/usr" DESTDIR="$(CURDIR)/debian/tmp" install