File: rules

package info (click to toggle)
bzr-email 0.0.1~bzr58-7
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 96 kB
  • sloc: python: 444; makefile: 12; sh: 1
file content (16 lines) | stat: -rwxr-xr-x 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

%:
	dh $* --with python2 --buildsystem=python_distutils

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	BZR_PLUGINS_AT=email@$(CURDIR) /usr/bin/bzr selftest -s bp.email
endif

get-orig-source:
	wget -O bzr-email.new.tgz http://bazaar.launchpad.net/~bzr/bzr-email/trunk/tarball
	tar zxf bzr-email.new.tgz
	mv \~bzr/bzr-email/trunk bzr-email-0.0.1\~bzr58
	tar cf - bzr-email-0.0.1\~bzr58 | gzip -9 > ../bzr-email_0.0.1\~bzr58.orig.tar.gz
	rm -r \~bzr bzr-email-0.0.1\~bzr58 bzr-email.new.tgz