dave0's font-size
[rxvt-unicode-script-mark-and-yank.git] / Makefile
blobeb5f7930a01c9ec345938e42a6d313b078e5478e
2 INSTALL_DIR = ${HOME}/.urxvt
3 SCRIPTS = mark-yank-urls
5 INSTALL = $(shell which install)
7 .PHONY: all help install clean check_install_dir
9 all: help
11 help:
12 @echo "make [target]"
13 @echo
14 @echo " install install scripts in ${INSTALL_DIR}"
15 @echo
17 install: check_install_dir ${INSTALL} ${SCRIPTS}
18 ${INSTALL} -t ${INSTALL_DIR} ${SCRIPTS}
20 clean:
21 -rm -f *~
23 check_install_dir: ${INSTALL}
24 @[ -d "${HOME}" ] || ( echo "environment variable HOME is not a directory" >&2 ; false )
25 ${INSTALL} -d ${INSTALL_DIR}