Imported Upstream version 4.3.1
This commit is contained in:
25
ipalib/Makefile
Normal file
25
ipalib/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
PYTHON ?= /usr/bin/python2
|
||||
PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib())")
|
||||
|
||||
all:
|
||||
# Pure Python; no need to build
|
||||
true
|
||||
|
||||
check:
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
if [ "$(DESTDIR)" = "" ]; then \
|
||||
$(PYTHON) setup.py install; \
|
||||
else \
|
||||
$(PYTHON) setup.py install --root $(DESTDIR); \
|
||||
fi
|
||||
|
||||
clean:
|
||||
rm -f *~ *.pyc __pycache__/
|
||||
|
||||
distclean: clean
|
||||
rm -f setup.py
|
||||
|
||||
maintainer-clean: distclean
|
||||
rm -rf build
|
||||
Reference in New Issue
Block a user