14 lines
403 B
Makefile
14 lines
403 B
Makefile
ver := $(shell cat ../version)
|
|
srcdir := /usr/src/u2mfn-$(ver)
|
|
|
|
install: install-u2mfn install-scripts
|
|
|
|
install-scripts:
|
|
install -d $(DESTDIR)/usr/sbin
|
|
install qubes-prepare-vm-kernel $(DESTDIR)/usr/sbin
|
|
|
|
install-u2mfn:
|
|
install -d $(DESTDIR)$(srcdir)
|
|
install -m 644 u2mfn/u2mfn.c u2mfn/Makefile $(DESTDIR)$(srcdir)
|
|
sed -e 's#@@VERSION@@#$(ver)#' u2mfn/dkms.conf.in > $(DESTDIR)$(srcdir)/dkms.conf
|