Add a bash completion script courtest of Fernando Auil and install it if possible.

This commit is contained in:
Con Kolivas 2011-09-15 13:53:50 +10:00
parent 271a407765
commit d5e048dccf
3 changed files with 124 additions and 0 deletions

View file

@ -72,8 +72,12 @@ EXTRA_DIST = \
description-pak \
autogen.sh \
INSTALL \
lrzip.completion \
$(dist_doc_DATA)
install-data-hook:
test -d /etc/bash_completion.d && @INSTALL_DATA@ lrzip.completion /etc/bash_completion.d/lrzip
install-exec-hook:
$(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)@bindir@/lrunzip$(EXEEXT)
$(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)@bindir@/lrzcat$(EXEEXT)