Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
23f4c8a0
Commit
23f4c8a0
authored
Nov 12, 2016
by
Evgeni Golov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install bash completion where pkg-config tells us to
Signed-off-by:
Evgeni Golov
<
evgeni@debian.org
>
parent
f3d7477c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
10 deletions
+9
-10
Makefile.am
config/bash/Makefile.am
+1
-10
configure.ac
configure.ac
+8
-0
No files found.
config/bash/Makefile.am
View file @
23f4c8a0
EXTRA_DIST
=
lxc
EXTRA_DIST
=
lxc
if
ENABLE_BASH
if
ENABLE_BASH
install-bash
:
dist_bashcomp_DATA
=
lxc
$(MKDIR_P)
$(DESTDIR)$(sysconfdir)
/bash_completion.d/
$(INSTALL_DATA)
lxc
$(DESTDIR)$(sysconfdir)
/bash_completion.d/
uninstall-bash
:
rm
-f
$(DESTDIR)$(sysconfdir)
/bash_completion.d/lxc
rmdir
$(DESTDIR)$(sysconfdir)
/bash_completion.d/
||
:
install-data-local
:
install-bash
uninstall-local
:
uninstall-bash
endif
endif
configure.ac
View file @
23f4c8a0
...
@@ -479,6 +479,14 @@ AC_ARG_ENABLE([bash],
...
@@ -479,6 +479,14 @@ AC_ARG_ENABLE([bash],
[], [enable_bash=yes])
[], [enable_bash=yes])
AM_CONDITIONAL([ENABLE_BASH], [test "x$enable_bash" = "xyes"])
AM_CONDITIONAL([ENABLE_BASH], [test "x$enable_bash" = "xyes"])
AM_COND_IF([ENABLE_BASH],
[AC_MSG_CHECKING([bash completion directory])
PKG_CHECK_VAR(bashcompdir, [bash-completion], [completionsdir], ,
bashcompdir="${sysconfdir}/bash_completion.d")
AC_MSG_RESULT([$bashcompdir])
AC_SUBST(bashcompdir)
])
# Optional test binaries
# Optional test binaries
AC_ARG_ENABLE([tests],
AC_ARG_ENABLE([tests],
[AC_HELP_STRING([--enable-tests], [build test/example binaries [default=no]])],
[AC_HELP_STRING([--enable-tests], [build test/example binaries [default=no]])],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment