qubes-linux-utils/imgconverter/Makefile
Marek Marczykowski-Górecki 6c36cb8de9
rpm: packge qubesimgconverter for both python2 and python3
And while at it, move it to separate subpackages, following Fedora
packaging guidelines.
2017-05-18 01:03:05 +02:00

19 lines
339 B
Makefile

PYTHON ?= python
all:
$(PYTHON) setup.py build
.PHONY: all
clean:
$(PYTHON) setup.py clean
.PHONY: clean
install:
$(PYTHON) setup.py install -O1 $(PYTHON_PREFIX_ARG) --root $(DESTDIR)
#ifeq (1,${DEBIANBUILD})
# cp *.py $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
#else
# cp *.py* $(DESTDIR)/$(PYTHON_SITEARCH)/qubes/
#endif
.PHONY: install