2019-10-21 00:57:19 +02:00
|
|
|
BINDIR ?= /usr/bin
|
|
|
|
SYSCONFDIR ?= /etc
|
|
|
|
UDEVRULESDIR = $(SYSCONFDIR)/udev/rules.d
|
|
|
|
QUBESDATADIR = /usr/share/qubes
|
2015-12-23 02:04:26 +01:00
|
|
|
|
2019-10-21 00:57:19 +02:00
|
|
|
.PHONY: all clean install
|
|
|
|
|
|
|
|
all: marker-vm
|
2015-12-23 02:04:26 +01:00
|
|
|
|
2010-09-03 16:23:09 +02:00
|
|
|
clean:
|
2019-10-21 00:57:19 +02:00
|
|
|
-$(RM) marker-vm
|
|
|
|
|
|
|
|
install:
|
|
|
|
install -d $(DESTDIR)$(UDEVRULESDIR)
|
|
|
|
install -t $(DESTDIR)$(UDEVRULESDIR) -m 0644 50-qubes-mem-hotplug.rules
|
|
|
|
install -d $(DESTDIR)$(QUBESDATADIR)
|
|
|
|
install -D -t $(DESTDIR)$(QUBESDATADIR) -m 0644 \
|
|
|
|
marker-vm \
|
|
|
|
qubes-master-key.asc
|
|
|
|
install -D -m 0644 mime-globs $(DESTDIR)$(QUBESDATADIR)/mime-override/globs
|
|
|
|
install -d $(DESTDIR)$(BINDIR)
|
|
|
|
install -t $(DESTDIR)$(BINDIR) qvm-features-request
|
|
|
|
|
|
|
|
marker-vm: marker-vm.in
|
|
|
|
printf "$(VERSION)" | cut -f 1,2 -d . | cat $< - > marker-vm
|