summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-01 22:07:18 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-09-12 17:26:53 (GMT)
commitb4271fbba371d1fc4d6ceac08b638bd4664cf0f8 (patch)
treee914ea70f98c1664476a8c39b5f0b0035ffd9ce4
parent6cf3ec38b886f82df5576ce1146931e9eafcb154 (diff)
downloadbuildroot-b4271fbba371d1fc4d6ceac08b638bd4664cf0f8.tar.gz
buildroot-b4271fbba371d1fc4d6ceac08b638bd4664cf0f8.tar.bz2
metacity: use new style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/metacity/metacity.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/metacity/metacity.mk b/package/metacity/metacity.mk
index 44cde54..9d91efe 100644
--- a/package/metacity/metacity.mk
+++ b/package/metacity/metacity.mk
@@ -18,8 +18,10 @@ METACITY_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
METACITY_DEPENDENCIES = libgtk2 xserver_xorg-server
-$(eval $(call AUTOTARGETS,package,metacity))
-
-$(METACITY_HOOK_POST_INSTALL): $(METACITY_TARGET_INSTALL_TARGET)
+define METACITY_INSTALL_XSESSION
install -D package/metacity/Xsession $(TARGET_DIR)/etc/X11/Xsession
- touch $@
+endef
+
+METACITY_POST_INSTALL_TARGET_HOOKS += METACITY_INSTALL_XSESSION
+
+$(eval $(call AUTOTARGETS,package,metacity))