Skip to content

Commit f4253b4

Browse files
committed
contrib/completions: install in $(datadir)/bash-completion/completions
The old /etc/bash_completions.d/ is still available by installing with something like: make install bashcompletionsdir='/etc/bash_completions.d Thanks to Tomasz Kłoczko for the suggestion (see #413 for details) Signed-off-by: Brice Goglin <[email protected]>
1 parent 299d2a4 commit f4253b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/completion/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
# This makefile is only reached when building in standalone mode
66

7-
bashcompdir = $(sysconfdir)/bash_completion.d
8-
dist_bashcomp_DATA = hwloc-completion.bash
7+
bashcompletionsdir = $(datadir)/bash-completion/completions
8+
dist_bashcompletions_DATA = hwloc-completion.bash

0 commit comments

Comments
 (0)