diff --git a/Makefile.in b/Makefile.in index b6dcc40..209fa51 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,12 +18,13 @@ all: build install: build if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR) install; fi +ifeq ($(strip $(prefix)),) $(PYTHON) ./setup.py install +else + $(PYTHON) ./setup.py install --prefix=$(prefix) +endif if [ "$(BUILD_C_LIBS)" -eq "1" ] && [ $(findstring "CYGWIN", $(PLATFORM)) ]; then ldconfig || true; fi -deps: - ./deps.sh - build: if [ "$(BUILD_C_LIBS)" -eq "1" ]; then make -C $(SRC_C_DIR); fi $(PYTHON) ./setup.py build