makefile/windows: install qvm-tools with .py extension
So system will automatically run them with python interpreter (wherever it is installed). This require to have ".py" in PATHEXT variable.
This commit is contained in:
parent
675a164e7d
commit
467477409d
@ -1,10 +1,14 @@
|
||||
BINDIR ?= /usr/bin
|
||||
ifeq ($(OS),Windows_NT)
|
||||
PYTHONEXEEXT = .py
|
||||
endif
|
||||
|
||||
all:
|
||||
true
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(BINDIR)
|
||||
cp qvm-* $(DESTDIR)$(BINDIR)
|
||||
cp qubes-* $(DESTDIR)$(BINDIR)
|
||||
for f in qvm-* qubes-*; do \
|
||||
cp $$f $(DESTDIR)$(BINDIR)/$$f$(PYTHONEXEEXT); \
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user