summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.each.tail/60-am.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-26 00:24:43 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-26 00:24:43 -0400
commit9ae02597064988e16ec47c4c2beea6e162814d03 (patch)
treed8b20ce756cf5e9094b5299d5c4e75c11a916b12 /build-aux/Makefile.each.tail/60-am.mk
parent8878397b6d57d5f16f262beb64f5d169db64e2c1 (diff)
shell completion for rootbin_PROGRAMS
Diffstat (limited to 'build-aux/Makefile.each.tail/60-am.mk')
-rw-r--r--build-aux/Makefile.each.tail/60-am.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/Makefile.each.tail/60-am.mk b/build-aux/Makefile.each.tail/60-am.mk
index 7e9b8f3800..fda38d8877 100644
--- a/build-aux/Makefile.each.tail/60-am.mk
+++ b/build-aux/Makefile.each.tail/60-am.mk
@@ -1,11 +1,12 @@
mod.am.depends += files
+rootbin_PROGRAMS ?=
bin_PROGRAMS ?=
bin_SCRIPTS ?=
bashcompletion_DATA ?=
zshcompletion_DATA ?=
-dist_bashcompletion_DATA := $(sort $(bashcompletion_DATA) $(bin_PROGRAMS) $(bin_SCRIPTS))
-dist_zshcompletion_DATA := $(sort $(zshcompletion_DATA) $(addprefix _,$(bin_PROGRAMS) $(bin_SCRIPTS)))
+dist_bashcompletion_DATA := $(sort $(bashcompletion_DATA) $(rootbin_PROGRAMS) $(bin_PROGRAMS) $(bin_SCRIPTS))
+dist_zshcompletion_DATA := $(sort $(zshcompletion_DATA) $(addprefix _,$(rootbin_PROGRAMS) $(bin_PROGRAMS) $(bin_SCRIPTS)))
$(eval \
$(foreach p,$(am.primaries) ,$(call _am.per_primary,$p)$(at.nl)))