File: rules

package info (click to toggle)
ipcheck 0.233-2
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 536 kB
  • ctags: 2,012
  • sloc: python: 7,973; makefile: 11; sh: 6
file content (17 lines) | stat: -rwxr-xr-x 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@

override_dh_install:
	dh_install
	chmod 755 $(CURDIR)/debian/ipcheck/usr/share/ipcheck/ipcheck.py
	dh_link usr/share/ipcheck/ipcheck.py usr/sbin/ipcheck

get-orig-source:
	wget -nc http://ipcheck.sourceforge.net/changelog
	wget -nc http://ipcheck.sourceforge.net/ipcheck.py
	wget -nc http://ipcheck.sourceforge.net/
	tar zcf ipcheck-`grep 'Version =' ipcheck.py | cut -d \" -f 2`.tar.gz changelog ipcheck.py index.html
	#rm changelog ipcheck.py index.html