summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.head
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 01:26:40 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 01:26:40 -0400
commitc5e060cbb2a01baa40f395fd543351ffeb12eac3 (patch)
treef1f49c912eb2ffea26927fa43fdc20df3c1b78ee /build-aux/Makefile.once.head
parent8334fafb8974f0ea19ed72efcd8d235069eaea32 (diff)
stuff
Diffstat (limited to 'build-aux/Makefile.once.head')
-rw-r--r--build-aux/Makefile.once.head/20-systemd.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/build-aux/Makefile.once.head/20-systemd.mk b/build-aux/Makefile.once.head/20-systemd.mk
index 63d54ba07e..61484c2954 100644
--- a/build-aux/Makefile.once.head/20-systemd.mk
+++ b/build-aux/Makefile.once.head/20-systemd.mk
@@ -194,7 +194,7 @@ endef
at.dirlocal += systemd.sed_files
at.dirlocal += noinst_LTLIBRARIES lib_LTLIBRARIES
-at.dirlocal += bin_PROGRAMS
+at.dirlocal += bin_PROGRAMS libexec_PROGRAMS
at.dirlocal += pkgconfiglib_DATA
automake_name = $(subst -,_,$(subst .,_,$1))
automake_sources = $(addprefix $(outdir)/,$(notdir $($(automake_name)_SOURCES) $(nodist_$(automake_name)_SOURCES)))
@@ -206,8 +206,9 @@ define automake2autothing
std.out_files += $(noinst_LTLIBRARIES) $(lib_LTLIBRARIES)
std.sys_files += $(addprefix $(libdir)/,$(lib_LTLIBRARIES))
-std.out_files += $(bin_PROGRAMS)
+std.out_files += $(bin_PROGRAMS) $(libexec_PROGRAMS)
std.sys_files += $(addprefix $(bindir)/,$(bin_PROGRAMS))
+std.sys_files += $(addprefix $(libexecdir)/,$(libexec_PROGRAMS))
std.out_files += $(notdir $(pkgconfiglib_DATA))
std.sys_files += $(addprefix $(pkgconfiglibdir)/,$(notdir $(lib_pkgconfiglib_DATA)))
@@ -224,7 +225,7 @@ $(foreach t,$(filter %.la,$(std.out_files)),\
$(eval AM_CFLAGS += $($(call automake_name,$t)_CFLAGS) )\
$(eval AM_CPPFLAGS += $($(call automake_name,$t)_CPPFLAGS) )\
$(eval AM_LDFLAGS += $($(call automake_name,$t)_LDFLAGS) ))
-$(foreach t,$(bin_PROGRAMS),\
+$(foreach t,$(bin_PROGRAMS) $(libexec_PROGRAMS),\
$(eval $(outdir)/$t: $(call at.path,$(call automake_o,$t) $(call automake_libs,$t)) )\
$(eval AM_CFLAGS += $($(call automake_name,$t)_CFLAGS) )\
$(eval AM_CPPFLAGS += $($(call automake_name,$t)_CPPFLAGS) )\