File: rules

package info (click to toggle)
osc 0.156.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,300 kB
  • ctags: 1,596
  • sloc: python: 19,772; sh: 1,812; perl: 366; xml: 129; csh: 14; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 411 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --with python2,bash-completion

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_clean:
	# Exclude testsuite data
	dh_clean --exclude=foo.orig

override_dh_auto_install:
	dh_auto_install
	# Give the binary sane name
	mv $(CURDIR)/debian/osc/usr/bin/osc-wrapper.py $(CURDIR)/debian/osc/usr/bin/osc
	# Not needed
	rm $(CURDIR)/debian/osc/usr/bin/osc_hotshot.py