core-admin/qvm-tools/Makefile
Marek Marczykowski-Górecki 467477409d 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.
2014-11-19 12:50:26 +01:00

15 lines
208 B
Makefile

BINDIR ?= /usr/bin
ifeq ($(OS),Windows_NT)
PYTHONEXEEXT = .py
endif
all:
true
install:
mkdir -p $(DESTDIR)$(BINDIR)
for f in qvm-* qubes-*; do \
cp $$f $(DESTDIR)$(BINDIR)/$$f$(PYTHONEXEEXT); \
done