make install is now install sys wide, install-prefix gone, not needed.

PYADPT-100
heck 3 years ago
parent 32c70ecf7c
commit 4499cbc60e

@ -16,18 +16,13 @@ dist-egg: compile
python3 setup.py bdist_egg
# installs the package into the user home
install: compile
python3 setup.py install --force --user
# installs the package into PREFIX path
install-prefix: compile
python3 setup.py install --force $(PREFIX_OPT)
# installs the package system wide
install-sys: compile
install: compile
python3 setup.py install --force
# installs the package into your user home
install-user: compile
python3 setup.py install --force --user
# build the module into build/
compile:

@ -6,7 +6,7 @@ DIST_DIR = ./dist
# Build config Defaults
DEBUG=0
PREFIX?=$(HOME)
PREFIX=
######### Overrides #########
-include $(HERE)local.conf
@ -15,4 +15,6 @@ ifeq ($(DEBUG),1)
DEBUG_OPT+=--debug
endif
PREFIX_OPT += --prefix=$(PREFIX)
ifneq ($(PREFIX),)
PREFIX_OPT += --prefix=$(PREFIX)
endif

Loading…
Cancel
Save