Fixed distribution of bash completions file.

This commit is contained in:
Florian Pose 2022-05-16 10:38:42 +02:00
parent 980da865cd
commit 54814b770e
1 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,7 @@ script_templates = \
EXTRA_DIST = \
$(script_templates) \
ethercat.bash_completion \
ifup-eoe.sh
CLEANFILES = \
@ -58,6 +59,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' \