diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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/* |