File: Makefile

package info (click to toggle)
dm-writeboost 2.2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 232 kB
  • sloc: ansic: 3,129; makefile: 32
file content (13 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
MODULE_VERSION ?= 2.2.10
DKMS_DIR := /usr/src/dm-writeboost-$(MODULE_VERSION)
DKMS_KEY := -m dm-writeboost -v $(MODULE_VERSION)

install:
	cp -r src $(DKMS_DIR)
	dkms add $(DKMS_KEY)
	dkms build $(DKMS_KEY)
	dkms install $(DKMS_KEY)

uninstall:
	dkms remove --all $(DKMS_KEY)
	rm -rf $(DKMS_DIR)