parent
b88614e557
commit
0f4d83078a
1 changed files with 7 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -1,6 +1,12 @@
|
|||
.PHONY: install install-lib install-dir uninstall phony test typecheck
|
||||
|
||||
XDG_DATA_HOME ?= $(HOME)/.local/share
|
||||
|
||||
ifneq ("$(wildcard $(XDG_DATA_HOME)/weechat)","")
|
||||
WEECHAT_HOME ?= $(XDG_DATA_HOME)/weechat
|
||||
else
|
||||
WEECHAT_HOME ?= $(HOME)/.weechat
|
||||
endif
|
||||
PREFIX ?= $(WEECHAT_HOME)
|
||||
|
||||
INSTALLDIR := $(DESTDIR)$(PREFIX)/python/matrix
|
||||
|
|
Loading…
Reference in a new issue