]> granicus.if.org Git - haveged/commitdiff
init.d/Makefile.am: add missing dependency
authorJackie Huang <jackie.huang@windriver.com>
Tue, 27 Mar 2018 02:21:09 +0000 (10:21 +0800)
committerKhem Raj <raj.khem@gmail.com>
Mon, 14 Jan 2019 18:32:16 +0000 (10:32 -0800)
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>
init.d/Makefile.am

index 5940f781d88866b55bf9b73acbba0cc948f372c5..07bcdf7b45ee6e2ef08dc3db78635d32f21d650d 100644 (file)
@@ -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