mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Fix bash completion installation.
This commit is contained in:
parent
761298bae6
commit
79c2e9accd
20
Makefile.am
20
Makefile.am
|
|
@ -25,7 +25,7 @@ SUBDIRS = lzma man doc
|
||||||
|
|
||||||
AM_CFLAGS = -I lzma/C -DNDEBUG
|
AM_CFLAGS = -I lzma/C -DNDEBUG
|
||||||
|
|
||||||
lrztardir = @bindir@
|
lrztardir = $(bindir)
|
||||||
lrztar_SCRIPTS = lrztar
|
lrztar_SCRIPTS = lrztar
|
||||||
|
|
||||||
bin_PROGRAMS = lrzip
|
bin_PROGRAMS = lrzip
|
||||||
|
|
@ -72,19 +72,19 @@ EXTRA_DIST = \
|
||||||
description-pak \
|
description-pak \
|
||||||
autogen.sh \
|
autogen.sh \
|
||||||
INSTALL \
|
INSTALL \
|
||||||
lrzip.completion \
|
bash_completion.d/lrzip \
|
||||||
$(dist_doc_DATA)
|
$(dist_doc_DATA)
|
||||||
|
|
||||||
install-data-hook:
|
completiondir = $(DESTDIR)/$(sysconfdir)/bash_completion.d
|
||||||
test -d /etc/bash_completion.d && @INSTALL_DATA@ lrzip.completion /etc/bash_completion.d/lrzip
|
completion_DATA = @top_srcdir@/bash_completion.d/lrzip
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
$(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)@bindir@/lrunzip$(EXEEXT)
|
$(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)$(bindir)/lrunzip$(EXEEXT)
|
||||||
$(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)@bindir@/lrzcat$(EXEEXT)
|
$(LN_S) -f lrzip$(EXEEXT) $(DESTDIR)$(bindir)/lrzcat$(EXEEXT)
|
||||||
$(LN_S) -f lrztar$(EXEEXT) $(DESTDIR)@bindir@/lrzuntar$(EXEEXT)
|
$(LN_S) -f lrztar$(EXEEXT) $(DESTDIR)$(bindir)/lrzuntar$(EXEEXT)
|
||||||
|
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -f @bindir@/lrunzip
|
rm -f $(bindir)/lrunzip
|
||||||
rm -f @bindir@/lrzcat
|
rm -f $(bindir)/lrzcat
|
||||||
rm -f @bindir@/lrzuntar
|
rm -f $(bindir)/lrzuntar
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue