From b4271fbba371d1fc4d6ceac08b638bd4664cf0f8 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Thu, 2 Sep 2010 00:07:18 +0200 Subject: metacity: use new style hook Signed-off-by: Thomas Petazzoni --- package/metacity/metacity.mk | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'package/metacity') diff --git a/package/metacity/metacity.mk b/package/metacity/metacity.mk index 44cde5468..9d91efe6a 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)) -- cgit v1.2.3