mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-26 12:03:48 +08:00
Install bash completions.
This commit is contained in:
+7
-3
@@ -4,9 +4,7 @@
|
||||
#
|
||||
# IgH EtherCAT master
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH
|
||||
# Copyright (C) 2006-2022 Florian Pose, Ingenieurgemeinschaft IgH
|
||||
#
|
||||
# This file is part of the IgH EtherCAT Master.
|
||||
#
|
||||
@@ -61,6 +59,12 @@ sysdir = $(sysconfdir)/sysconfig
|
||||
sys_DATA = ethercat
|
||||
endif
|
||||
|
||||
completionsdir = $(datadir)/bash-completion/completions
|
||||
completions_DATA = ethercat.bash_completion
|
||||
|
||||
install-data-hook:
|
||||
cd $(DESTDIR)$(completionsdir); \
|
||||
mv ethercat.bash_completion ethercat
|
||||
|
||||
# Any precious variable used inside script_templates should appear here
|
||||
expand_script = $(SED) \
|
||||
|
||||
Reference in New Issue
Block a user