File: rules

package info (click to toggle)
ruby-browser 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 660 kB
  • ctags: 575
  • sloc: ruby: 3,447; makefile: 17
file content (21 lines) | stat: -rwxr-xr-x 519 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

%:
	dh $@ --buildsystem=ruby --with ruby
override_dh_auto_install:
	cp languages.yml debian/ruby-browser/usr/share/ruby-browser/
	cp bots.yml debian/ruby-browser/usr/share/ruby-browser/
	cp search_engines.yml debian/ruby-browser/usr/share/ruby-browser/
	dh_auto_install
	rm -rf debian/ruby-browser/usr/bin

override_dh_auto_clean:
	if [ -e Gemfile.lock ]; then\
	   	rm Gemfile.lock; \
	fi
	if [ -e log/* ]; then \
		rm log/*; \
	fi
	dh_auto_clean