summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.head/30-am.mk
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-10 15:48:20 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-10 15:48:20 -0400
commitc73db02271a67e9ceb42115dde6be997ec4b89ef (patch)
tree7bf9b14a3e741cfa37a2f93be964538b959964a5 /build-aux/Makefile.once.head/30-am.mk
parentae3660f9eb1618b0cc54bf5dffcc5d13ced8922e (diff)
split up grp-{hostname,locale}, grp-resolve/systemd-resolve{,d}; shell completion
Diffstat (limited to 'build-aux/Makefile.once.head/30-am.mk')
-rw-r--r--build-aux/Makefile.once.head/30-am.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/build-aux/Makefile.once.head/30-am.mk b/build-aux/Makefile.once.head/30-am.mk
index 65cbc33ed0..457a878688 100644
--- a/build-aux/Makefile.once.head/30-am.mk
+++ b/build-aux/Makefile.once.head/30-am.mk
@@ -1,10 +1,15 @@
mod.am.description = (systemd) Automake-to-Autothing magic
mod.am.depends += gnuconf
-am.inst2noinst_DATA = $(notdir \
+am.inst2noinst_DATA = \
+ $(patsubst %.completion.bash,$(abspath $(srcdir))/%.completion.bash,\
+ $(patsubst %.completion.zsh,$(abspath $(srcdir))/%.completion.zsh,\
+ $(notdir \
$(patsubst $(sysusersdir)/%.conf,%.sysusers,\
$(patsubst $(sysctldir)/%.conf,%.sysctl,\
- $1)))
+ $(patsubst $(bashcompletiondir)/%,%.completion.bash,\
+ $(patsubst $(zshcompletiondir)/_%,%.completion.zsh,\
+ $1)))))))
am.inst2noinst_HEADERS = $(abspath $(addprefix $(srcdir)/include/,$(notdir $1)))
am.var_PROGRAMS = $1_SOURCES nodist_$1_SOURCES $1_CFLAGS $1_CPPFLAGS $1_LDFLAGS $1_LDADD