aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-06 20:50:44 +0200
committerOndrej Čerman2019-10-06 20:50:44 +0200
commitc9dcc23501280969f9fc379e3bda6b6874c021a5 (patch)
tree8f4d28a615c685c4662a7e06d2a57222d0dc0280 /Makefile
parentd214772d66b1f2c55b08898266eb0e2f0359b29f (diff)
version 0.1.4v0.1.4
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f9efb8c..eafd166 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION := 0.1.3
+VERSION := 0.1.4
TARGET := $(shell uname -r)
-DKMS_ROOT_PATH := /usr/src/zenpower-0.1.3
+DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
ifneq ("","$(wildcard /usr/src/linux-headers-$(TARGET)/*)")
# Ubuntu
@@ -34,6 +34,7 @@ dkms-install:
cp $(CURDIR)/zenpower.c $(DKMS_ROOT_PATH)
sed -e "s/@CFLGS@/${MCFLAGS}/" \
+ -e "s/@VERSION@/$(VERSION)/" \
-i $(DKMS_ROOT_PATH)/dkms.conf
dkms add zenpower/$(VERSION)