File: rules

package info (click to toggle)
pidcat 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 864 kB
  • ctags: 73
  • sloc: python: 284; makefile: 13
file content (18 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

include /usr/share/dpkg/default.mk

%:
	dh $@ --with bash-completion

override_dh_auto_install:
	dh_auto_install
	install -d debian/pidcat/usr/bin
	install -m755 pidcat.py debian/pidcat/usr/bin/pidcat
	install -d debian/pidcat/usr/share/doc/pidcat/
	install -m644 CHANGELOG.md debian/pidcat/usr/share/doc/pidcat/changelog

get-orig-source:
	wget --continue \
		https://github.com/JakeWharton/pidcat/archive/$(DEB_VERSION_UPSTREAM).tar.gz
	mk-origtargz --rename $(DEB_VERSION_UPSTREAM).tar.gz