From: Michael Büsch Date: Sat, 2 Oct 2010 17:10:12 +0000 (+0000) Subject: pwrtray: Add fix backend-only compile X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=1101e5ae193a82dcffc78f3accf8e014d3c0ed3a;hp=02b30d538edb78ad3e697141fe0cfb47fea68d17 pwrtray: Add fix backend-only compile SVN-Revision: 23182 --- diff --git a/Xorg/app/pwrtray/Makefile b/Xorg/app/pwrtray/Makefile index 804464aac4..eca2c5be66 100644 --- a/Xorg/app/pwrtray/Makefile +++ b/Xorg/app/pwrtray/Makefile @@ -76,7 +76,7 @@ define Package/pwrtray-backend/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pwrtray-backend $(1)/usr/bin/ $(if $(CONFIG_PACKAGE_libX11),$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pwrtray-xlock $(1)/usr/bin/) $(if $(CONFIG_PACKAGE_pwrtray),$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pwrtray $(1)/usr/bin/) - $(CP) $(PKG_INSTALL_DIR)/usr/share/pwrtray $(1)/usr/share/ + $(if $(CONFIG_PACKAGE_pwrtray),$(CP) $(PKG_INSTALL_DIR)/usr/share/pwrtray $(1)/usr/share/) [ -e $(1)/etc/pwrtray-backendrc ] || \ $(INSTALL_DATA) ./files/etc/pwrtray-backendrc $(1)/etc/ endef