From 54814b770e8d8dc7f5da70224e5d9b85758780e3 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Mon, 16 May 2022 10:38:42 +0200 Subject: [PATCH] Fixed distribution of bash completions file. --- script/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/Makefile.am b/script/Makefile.am index 56a4bf78..3d0194da 100644 --- a/script/Makefile.am +++ b/script/Makefile.am @@ -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' \