build-sys: touch /usr on "make install"

this way, the "make install" will be detected as offline update on next
boot.
This commit is contained in:
Lennart Poettering 2014-06-17 03:09:27 +02:00
parent 689d781b87
commit a1259e0a14
1 changed files with 5 additions and 1 deletions

View File

@ -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))