diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-11-03 22:15:42 +0100 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-11-03 22:15:42 +0100 |
| commit | 407587667f25e91ad09bfa25a4ade216fb2e4e9e (patch) | |
| tree | 69962ac2d0745c49218cb52be2082ad49e2920b0 /debian/rules | |
initial test of mba31 keyboard patches
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3c953cd --- /dev/null +++ b/debian/rules | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | #!/usr/bin/make -f | ||
| 2 | # -*- makefile -*- | ||
| 3 | |||
| 4 | # Uncomment this to turn on verbose mode. | ||
| 5 | #export DH_VERBOSE=1 | ||
| 6 | |||
| 7 | NAME=hid-apple | ||
| 8 | VERSION=1.0.0 | ||
| 9 | |||
| 10 | configure: configure-stamp | ||
| 11 | configure-stamp: | ||
| 12 | dh_testdir | ||
| 13 | touch configure-stamp | ||
| 14 | |||
| 15 | |||
| 16 | build: build-stamp | ||
| 17 | |||
| 18 | build-stamp: configure-stamp | ||
| 19 | dh_testdir | ||
| 20 | $(MAKE) | ||
| 21 | touch $@ | ||
| 22 | |||
| 23 | clean: | ||
| 24 | dh_testdir | ||
| 25 | dh_testroot | ||
| 26 | rm -f build-stamp configure-stamp | ||
| 27 | -$(MAKE) clean | ||
| 28 | dh_clean | ||
| 29 | |||
| 30 | install: build | ||
| 31 | dh_testdir | ||
| 32 | dh_testroot | ||
| 33 | dh_clean -k | ||
| 34 | dh_installdirs | ||
| 35 | $(MAKE) DESTDIR=$(CURDIR)/debian/$(NAME)-dkms NAME=$(NAME) VERSION=$(VERSION) install | ||
| 36 | |||
| 37 | binary-arch: build install | ||
| 38 | |||
| 39 | binary-indep: build install | ||
| 40 | dh_testdir | ||
| 41 | dh_testroot | ||
| 42 | dh_link | ||
| 43 | dh_strip | ||
| 44 | dh_compress | ||
| 45 | dh_fixperms | ||
| 46 | dh_installdeb | ||
| 47 | dh_shlibdeps | ||
| 48 | dh_gencontrol | ||
| 49 | dh_md5sums | ||
| 50 | dh_builddeb | ||
| 51 | |||
| 52 | binary: binary-indep binary-arch | ||
| 53 | .PHONY: build clean binary-indep binary-arch binary install configure | ||
