File: rules

package info (click to toggle)
bzr-explorer 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 6,696 kB
  • sloc: python: 21,837; xml: 277; makefile: 31
file content (17 lines) | stat: -rwxr-xr-x 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

override_dh_auto_install:
	dh_installchangelogs NEWS
	dh_install debian/bzr-explorer.png $(DESTDIR)/usr/share/pixmaps
	dh_install bzr-explorer.desktop $(DESTDIR)/usr/share/applications
	# Make lintian happy by not installing an extra copyright file.
	find . -name "COPYING.txt" -delete
	dh_auto_install
	
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
	BZR_PLUGINS_AT=explorer@$(CURDIR) xvfb-run /usr/bin/bzr selftest -s bp.explorer
endif