File: rules

package info (click to toggle)
vagrant-libvirt 0.11.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,684 kB
  • sloc: ruby: 12,109; xml: 2,285; sh: 373; javascript: 235; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 479 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
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install
export DH_RUBY_GEM_INSTALL_EXCLUDE = example_box/* tools/*

include /usr/share/dpkg/pkg-info.mk

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

override_dh_auto_install: version
	dh_auto_install
	dh_vagrant_plugin

override_dh_auto_clean: version
	dh_auto_clean

version:
	@if [ ! -f lib/vagrant-libvirt/version ]; then echo $(DEB_VERSION_UPSTREAM) > lib/vagrant-libvirt/version; fi