mirror of
https://github.com/frankcrawford/it87.git
synced 2025-07-23 03:43:02 +02:00
Update dates generated in setup scripts
This commit is contained in:
2
Makefile
2
Makefile
@@ -29,7 +29,7 @@ endif
|
||||
|
||||
DRIVER := it87
|
||||
ifneq ("","$(wildcard .git/*)")
|
||||
DRIVER_VERSION := $(shell git describe --long).$(shell date -d "$(git show -s --format=%ci HEAD)" +%Y%m%d)
|
||||
DRIVER_VERSION := $(shell git describe --long).$(shell date -u -d "$$(git show -s --format=%ci HEAD)" +%Y%m%d)
|
||||
else
|
||||
ifneq ("", "$(wildcard VERSION)")
|
||||
DRIVER_VERSION := $(shell cat VERSION)
|
||||
|
@@ -8,7 +8,7 @@ else
|
||||
fi
|
||||
|
||||
DRV_NAME=$(basename $(pwd))
|
||||
DRV_VERSION=$(git describe --long).$(date -d "$(git show -s --format=%ci HEAD)" +%Y%m%d)
|
||||
DRV_VERSION=$(git describe --long).$(date -u -d "$(git show -s --format=%ci HEAD)" +%Y%m%d)
|
||||
DKMS_DIR=/usr/src/${DRV_NAME}-${DRV_VERSION}
|
||||
|
||||
make -f Makefile DRIVER=$DRV_NAME DRIVER_VERSION=$DRV_VERSION DKMS_ROOT_PATH=$DKMS_DIR dkms
|
||||
|
Reference in New Issue
Block a user