summaryrefslogtreecommitdiffstats
path: root/util/bash-completion.d/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/bash-completion.d/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/bash-completion.d/Makefile.am b/util/bash-completion.d/Makefile.am
new file mode 100644
index 0000000..136287c
--- /dev/null
+++ b/util/bash-completion.d/Makefile.am
@@ -0,0 +1,13 @@
+
+bash_completion_source = grub-completion.bash.in
+bash_completion_script = grub
+
+EXTRA_DIST = $(bash_completion_source)
+
+CLEANFILES = $(bash_completion_script) config.log
+
+bashcompletiondir = $(sysconfdir)/bash_completion.d
+bashcompletion_DATA = $(bash_completion_script)
+
+$(bash_completion_script): $(bash_completion_source) $(top_builddir)/config.status
+ $(top_builddir)/config.status --file=$@:$<