2014-07-17 00:27:33 +00:00
|
|
|
ver := $(shell cat ../version)
|
|
|
|
srcdir := /usr/src/u2mfn-$(ver)
|
|
|
|
|
2015-03-20 09:36:56 +00:00
|
|
|
install: install-u2mfn install-scripts
|
|
|
|
|
|
|
|
install-scripts:
|
|
|
|
install -d $(DESTDIR)/usr/sbin
|
|
|
|
install qubes-prepare-vm-kernel $(DESTDIR)/usr/sbin
|
2014-07-17 00:27:33 +00:00
|
|
|
|
|
|
|
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
|