summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-17 03:09:27 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-17 03:09:27 +0200
commita1259e0a1481b3621ebcc285b76a2ea43ca223c8 (patch)
tree2283fbb058fdc9f82166c9f8cf2defa6933f1040 /Makefile.am
parent689d781b87164bc89554e2fecdf6fbb5725c0804 (diff)
build-sys: touch /usr on "make install"
this way, the "make install" will be detected as offline update on next boot.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 66eda99490..0213c3846d 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))