~tardypad/wee-most

4da0f4cd8d4871515945e09b880eecd04f468060 — Damien Tardy-Panis a month ago 6b8a081
Add support for DESTDIR in Makefile

For packaging purpose
make DESTDIR=pkgdir WEECHAT_DATA_DIR=/usr/lib/weechat
1 files changed, 1 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +1 -1
@@ 2,7 2,7 @@

WEECHAT_DATA_DIR = $(HOME)/.local/share/weechat

SCRIPT_DIR = $(WEECHAT_DATA_DIR)/python
SCRIPT_DIR = $(DESTDIR)$(WEECHAT_DATA_DIR)/python

libs := $(patsubst wee_most/%.py, $(SCRIPT_DIR)/wee_most/%.py, \
	$(wildcard wee_most/*.py))