From a1259e0a1481b3621ebcc285b76a2ea43ca223c8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 17 Jun 2014 03:09:27 +0200 Subject: [PATCH] build-sys: touch /usr on "make install" this way, the "make install" will be detected as offline update on next boot. --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 66eda9949..0213c3846 100644 --- a/Makefile.am +++ b/Makefile.am @@ -297,10 +297,14 @@ define install-relative-aliases done endef +install-touch-usr-hook: + touch -c $(DESTDIR)/$(prefix) + INSTALL_EXEC_HOOKS += \ install-target-wants-hook \ install-directories-hook \ - install-aliases-hook + install-aliases-hook \ + install-touch-usr-hook # ------------------------------------------------------------------------------ AM_V_M4 = $(AM_V_M4_$(V)) -- 2.30.2