diff --git a/Makefile b/Makefile index f9ead51..5b39af4 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ # To pass the dkms.conf parameters to the Makefile, # add KVER and BASEDIR to the Make command line -KFLAG := 2$(shell "$KVER" | sed -ne 's/^2\.[4]\..*/4/p')x +KFLAG := 2$(shell "${KVER}" | sed -ne 's/^2\.[4]\..*/4/p')x BSRC ?= /lib/modules/$(shell uname -r) all: clean modules install @@ -56,4 +56,7 @@ ifeq ($(KFLAG),24x) $(MAKE) -C src/ KVER=$(KVER) BASEDIR=$(BSRC) -f Makefile_linux24x install else $(MAKE) -C src/ KVER=$(KVER) BASEDIR=$(BSRC) install -endif \ No newline at end of file +endif + +package: modules + dpkg-buildpackage -b -rfakeroot -us -uc