]> git.g-eek.se Git - users/gustav/scripts.git/commitdiff
refac: Format Makefile
authorGustav Eek <gustav.eek@fripost.org>
Sat, 24 Oct 2020 06:53:39 +0000 (08:53 +0200)
committerGustav Eek <gustav.eek@fripost.org>
Sat, 24 Oct 2020 06:53:39 +0000 (08:53 +0200)
Makefile

index 089208e82564206b1c39da45218def4513c1cf64..2950065f0d53363009b3427461ac256417f4b356 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,22 @@
-# 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
@@ -24,8 +24,8 @@ 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 $< $@