From 319b1a7b3b488f5a6621e9888564e5f42051f096 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 3 Jul 2011 09:10:27 +0200 Subject: [PATCH] Don't add directories explicitly to packages Directories are added implicitly when entries are added, so there's no need to add those directories. Directories without content don't need to be added either, since due to the read-only nature of packages they will remain empty. --- build/jam/HaikuPackages | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build/jam/HaikuPackages b/build/jam/HaikuPackages index e043cfff58..b97c704bf9 100644 --- a/build/jam/HaikuPackages +++ b/build/jam/HaikuPackages @@ -172,8 +172,6 @@ local logoArtwork = SEARCH on $(logoArtwork) = [ FDirName $(HAIKU_TOP) data artwork ] ; AddFilesToPackage data artwork : $(logoArtwork) ; -AddDirectoryToPackage data sounds ; - # Mail spell check dictionaries local spellFiles = words geekspeak ; spellFiles = $(spellFiles:G=spell) ; @@ -204,8 +202,10 @@ local cannaDicCanna = [ Glob $(cannaDir)/dic/canna AddFilesToPackage data Canna default : $(cannaDefault) ; AddFilesToPackage data Canna dic : $(cannaDic) ; AddFilesToPackage data Canna dic canna : $(cannaDicCanna) ; -AddDirectoryToPackage data Canna dic group ; -AddDirectoryToPackage data Canna dic user ; +#AddDirectoryToPackage data Canna dic group ; +#AddDirectoryToPackage data Canna dic user ; + # TODO: If those serve any purpose, they should probably live in a writable + # subtree. local keymapFiles = [ Glob [ FDirName $(HAIKU_TOP) src data keymaps ] : *.keymap ] ; @@ -281,9 +281,6 @@ AddFilesToPackage add-ons Screen\ Savers : $(SYSTEM_ADD_ONS_SCREENSAVERS) ; AddFilesToPackage add-ons disk_systems : intel bfs ; -AddDirectoryToPackage data synth ; -AddDirectoryToPackage add-ons input_server methods ; - # optional # TODO: We should probably build another package (including the data files # above) that can be installed, if desired.