make the xserver package even smaller
authorJohn Crispin <john@openwrt.org>
Fri, 21 Sep 2007 00:58:22 +0000 (00:58 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 21 Sep 2007 00:58:22 +0000 (00:58 +0000)
SVN-Revision: 8900

XOrg/server/xorg-server-X11R7.2/Makefile

index 0588d1dc9bd7e964c24a19cec39db5e0ae22d886..3abcdf6e1a15752b0a70b73d45dffda29a0163d2 100644 (file)
@@ -112,6 +112,7 @@ define Package/xorg-server-X11R7.2/install
        find $(1)/usr/lib/xorg/ -name *.la | xargs rm -rf
        $(INSTALL_DIR) $(1)/usr/lib/X11/
        $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/X11/* $(1)/usr/lib/X11/
+       rm -rf $(1)/usr/share/X11 $(1)/usr/lib/X11/xserver      
        $(INSTALL_DIR) $(1)/var/log/
        $(INSTALL_DIR) $(1)/etc/X11/
        $(CP) files/xorg.conf $(1)/etc/X11/