File: rules

package info (click to toggle)
whatweb 0.6.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 24,000 kB
  • sloc: ruby: 44,049; sh: 213; makefile: 41
file content (23 lines) | stat: -rwxr-xr-x 529 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DESTINATION = $(CURDIR)/debian/whatweb

# override /usr default upstream location
override_dh_auto_build:
	dh_auto_build -- DESTDIR=$(DESTINATION)/usr

override_dh_install:
	dh_install

	# logging module private to WhatWeb
	mv -i $(DESTINATION)/usr/lib/ruby/vendor_ruby/logging* \
		$(DESTINATION)/usr/lib/ruby/vendor_ruby/whatweb/

%:
	dh $@ --buildsystem=ruby --with ruby

.PHONY: override_dh_auto_build override_dh_install