summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2018-03-27 04:21:09 +0200
committerKhem Raj <raj.khem@gmail.com>2019-01-14 19:32:16 +0100
commitceab89ad131d0431c72f524167240b7dd492114a (patch)
treec239a202208895eceeca61184bcf2d80532fc9bf
parentMerge pull request #10 from erahn/master (diff)
downloadhaveged-ceab89ad131d0431c72f524167240b7dd492114a.tar.xz
haveged-ceab89ad131d0431c72f524167240b7dd492114a.zip
init.d/Makefile.am: add missing dependency
install-data-hook should depend on install-exec-hook, or the haveged.service might be installed incorrectly when build with -j option. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--init.d/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/Makefile.am b/init.d/Makefile.am
index 5940f78..07bcdf7 100644
--- a/init.d/Makefile.am
+++ b/init.d/Makefile.am
@@ -33,7 +33,7 @@ if ENABLE_SYSTEMD
install-exec-hook:
$(do_subst) < $(srcdir)/$(src_tmpl) > haveged.service;
-install-data-hook:
+install-data-hook: install-exec-hook
if ENABLE_SYSTEMD_LOOKUP
install -p -D -m644 haveged.service $(DESTDIR)`pkg-config --variable=systemdsystemunitdir systemd`/haveged.service;
else