Browse Source

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

master
heck 5 years ago
parent
commit
4499cbc60e
  1. 13
      Makefile
  2. 6
      Makefile.conf

13
Makefile

@ -16,18 +16,13 @@ dist-egg: compile
python3 setup.py bdist_egg 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 # installs the package system wide
install-sys: compile install: compile
python3 setup.py install --force 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/ # build the module into build/
compile: compile:

6
Makefile.conf

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

Loading…
Cancel
Save