File: rules

package info (click to toggle)
docker 1.5-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ansic: 1,839; makefile: 229
file content (15 lines) | stat: -rwxr-xr-x 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

override_dh_auto_test:
	# upstream doesn't have any tests, so let's just verify the binary is named "wmdocker"
	test -f wmdocker
	test -s wmdocker
	test -x wmdocker
	# TODO patch upstream to add a -version flag we could use here?

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/wmdocker/usr/bin
	$(MAKE) install PREFIX=$(CURDIR)/debian/wmdocker/usr

%:
	dh $@