diff options
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..4a052bf --- /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=wacom | ||
| 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 | ||
