mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-24 02:53:57 +08:00
Fixed distribution of bash completions file.
This commit is contained in:
@@ -40,6 +40,7 @@ script_templates = \
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(script_templates) \
|
||||
ethercat.bash_completion \
|
||||
ifup-eoe.sh
|
||||
|
||||
CLEANFILES = \
|
||||
@@ -66,6 +67,10 @@ install-data-hook:
|
||||
cd $(DESTDIR)$(completionsdir); \
|
||||
mv ethercat.bash_completion ethercat
|
||||
|
||||
uninstall-hook:
|
||||
cd $(DESTDIR)$(completionsdir); \
|
||||
rm ethercat
|
||||
|
||||
# Any precious variable used inside script_templates should appear here
|
||||
expand_script = $(SED) \
|
||||
-e 's,[@]VERSION[@],$(VERSION),g' \
|
||||
|
||||
Reference in New Issue
Block a user