Skip to content

Commit

Permalink
defaults installTop to srcDir if VIRTUAL_ENV is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
smirolo committed Oct 4, 2024
1 parent a680714 commit 290edbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ APP_PORT ?= 8000
LIVEDEMO_ENTRY_POINT ?= http://djaopsp-demo

srcDir ?= .
installTop ?= $(VIRTUAL_ENV)
installTop ?= $(if $(VIRTUAL_ENV),$(VIRTUAL_ENV),$(abspath $(srcDir))/.venv)
binDir ?= $(installTop)/bin
libDir ?= $(installTop)/lib
SYSCONFDIR ?= $(installTop)/etc
LOCALSTATEDIR ?= $(installTop)/var
CONFIG_DIR ?= $(SYSCONFDIR)/$(APP_NAME)
ASSETS_DIR ?= $(srcDir)/htdocs/assets
RUN_DIR ?= $(abspath $(srcDir))
RUN_DIR ?= $(installTop)/var/run

installDirs ?= /usr/bin/install -d
installFiles ?= /usr/bin/install -p -m 644
Expand Down

0 comments on commit 290edbe

Please sign in to comment.