Skip to content

Commit

Permalink
Makefile: Allow prefix to be set from outside
Browse files Browse the repository at this point in the history
This way external build systems can override prefix and decide to not
install into $HOME.

Signed-off-by: Alexander Dahl <ada@thorsis.com>
Fixes: c11923a ("make: add install and uninstall targets")
  • Loading branch information
LeSpocky committed Oct 23, 2024
1 parent 3fd3026 commit 32d735f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prefix = $(HOME)
prefix ?= $(HOME)

INSTALL_DIR = $(prefix)/share/sharness
DOC_DIR = $(prefix)/share/doc/sharness
Expand Down

0 comments on commit 32d735f

Please sign in to comment.