File: rules

package info (click to toggle)
linuxbrew-wrapper 20160916-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 108 kB
  • ctags: 47
  • sloc: ruby: 466; sh: 55; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 555 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
#export DH_VERBOSE = 1

%:
	dh $@ --with ruby

# fix lintian warning
# "script-not-executable usr/lib/linuxbrew-wrapper/install"
override_dh_fixperms:
	dh_fixperms
	chmod 0755 debian/linuxbrew-wrapper/usr/lib/linuxbrew-wrapper/install
	chmod 0755 debian/linuxbrew-wrapper/usr/lib/linuxbrew-wrapper/uninstall

# The upstream install script is located at
URL=https://raw.githubusercontent.com/Linuxbrew/install/master/install
get-orig-source:
	wget $(URL) -O install.new
	@diff install install.new || echo "I: found newer install script"