summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-23 22:51:09 +0200
committerErich Eckner <git@eckner.net>2019-05-23 22:51:09 +0200
commit88ba0e0426953f06acab113bdf4a32b651d29f80 (patch)
tree751baa9830db920b5d3dfffd7379a4ffe71a1682
parentf4012ec67c226c359e8452cd52f1f75130d9c2e5 (diff)
downloadbash-completion-extras-88ba0e0426953f06acab113bdf4a32b651d29f80.tar.xz
mupdf-gl and mupdf-x11 new
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6c985ce..3d9dfbe 100644
--- a/Makefile
+++ b/Makefile
@@ -24,9 +24,12 @@ COMPDIR = $(shell pkg-config --variable=completionsdir bash-completion)
VERSION = 0.0
-all:
+all: completions/mupdf-gl completions/mupdf-x11
-.PHONY: install dist
+completions/mupdf-%: completions/mupdf
+ sed 's/mupdf/$(notdir $@)/' "$<" > "$@"
+
+.PHONY: all dist install
install: all
install -D -m0644 -t $(DESTDIR)$(COMPDIR) completions/*