File: rules

package info (click to toggle)
picard 2.13.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,012 kB
  • sloc: python: 68,818; ansic: 89; makefile: 14
file content (18 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DESTDIR = $(CURDIR)/debian/picard
export PYBUILD_DESTDIR=$(DESTDIR)
export PYBUILD_BUILD_ARGS=--disable-autoupdate
export PYBUILD_INSTALL_ARGS=$(PYBUILD_BUILD_ARGS) \
	--install-scripts=/usr/lib/picard \
	--install-lib=/usr/lib/picard
export LC_ALL=C.UTF-8

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install
	mv $(DESTDIR)/usr/lib/picard/picard/picard $(DESTDIR)/usr/lib/picard/picard_run
	find . -type d -empty -delete