-# Copyright 2014 Gustav Eek. This program is distributed under the
+# Copyright 2014--2020 Gustav Eek. This program is distributed under the
# terms of the GNU General Public License
SHELL = /bin/bash
INSTALL = $(HOME)/bin
-scripts = \
-msmtp-notify \
-repo-encrypt \
-exiv2-common-edits \
-confluence-tk \
-json2yaml \
-yaml2json \
-ip-check \
-folkets \
-unoconv-display \
+SCRIPTS = \
+ confluence-tk \
+ exiv2-common-edits \
+ folkets \
+ ip-check \
+ json2yaml \
+ msmtp-notify \
+ repo-encrypt \
+ unoconv-display \
+ yaml2json \
-bash-completion = \
-repo-encrypt \
+BASH_COMPLETION = \
+ repo-encrypt \
dir := $(INSTALL)
dir-completion := $(dir)/bash_completion.d
default: help
install: $(dir) $(dir-completion) \
-$(foreach f, $(scripts), $(dir)/$(f)) \
-$(foreach f, $(bash-completion), $(dir-completion)/$(f)) \
+$(foreach f, $(SCRIPTS), $(dir)/$(f)) \
+$(foreach f, $(BASH_COMPLETION), $(dir-completion)/$(f)) \
$(dir)/%: %
cp -f $< $@