File: rules

package info (click to toggle)
test-kitchen 1.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,932 kB
  • ctags: 1,270
  • sloc: ruby: 20,378; sh: 262; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies

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

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/test-kitchen/usr/share/test-kitchen
	cp -rf $(CURDIR)/support/ $(CURDIR)/debian/test-kitchen/usr/share/test-kitchen
	cp -rf $(CURDIR)/templates/ $(CURDIR)/debian/test-kitchen/usr/share/test-kitchen
	mv $(CURDIR)/lib/vendor/* $(CURDIR)/lib/kitchen/
	rmdir $(CURDIR)/lib/vendor
	dh_auto_install