Browse Source

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

PYADPT-100
heck 2 years ago
parent
commit
4499cbc60e
2 changed files with 8 additions and 11 deletions
  1. +4
    -9
      Makefile
  2. +4
    -2
      Makefile.conf

+ 4
- 9
Makefile View File

@ -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:


+ 4
- 2
Makefile.conf View File

@ -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