Skip to content

Commit

Permalink
Install the bash completion file when running make install.
Browse files Browse the repository at this point in the history
Closes gsliepen#209 on GitHub.
  • Loading branch information
gsliepen committed Oct 8, 2018
1 parent 5c76d51 commit 45ad0de
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

AUTOMAKE_OPTIONS = gnu

SUBDIRS = src doc test systemd
SUBDIRS = src doc test systemd bash_completion.d

ACLOCAL_AMFLAGS = -I m4

Expand Down
2 changes: 2 additions & 0 deletions bash_completion.d/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bash_completiondir = @datarootdir@/bash-completion/completions/
dist_bash_completion_DATA = tinc
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,6 @@ if test "x$runstatedir" = "x"; then
AC_SUBST([runstatedir], ['${localstatedir}/run'])
fi

AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile test/Makefile systemd/Makefile])
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile test/Makefile systemd/Makefile bash_completion.d/Makefile])

AC_OUTPUT

0 comments on commit 45ad0de

Please sign in to comment.