Fix missing subdir directive. Modify GeneratePackageList to not rely on any OS-specific find extensions. This gets things building again on a FreeBSD host. Review welcome.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33182 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2009-09-19 03:02:00 +00:00
parent 605527d76a
commit ecf8923a9d
+9 -7
View File
@@ -1,3 +1,5 @@
SubDir HAIKU_TOP src libs icu source data ;
ICU_UNICODE_VERSION = 5.1 ;
ICU_CLDR_VERSION = $(ICU_GENRB_CLDR_VERSION) ;
ICU_DAT_FILES = pnames.icu unames.icu cnvalias.icu ucadata.icu invuca.icu ;
@@ -114,13 +116,13 @@ rule GeneratePackageList target
actions GeneratePackageList1
{
cd $(ICU_DATA_DIR)
find . -type f -name \*.brk -printf "%P\n" >$(1:D=)
find . -type f -name \*.cfu -printf "%P\n" >>$(1:D=)
find . -type f -name \*.cnv -printf "%P\n" >>$(1:D=)
find . -type f -name \*.ctd -printf "%P\n" >>$(1:D=)
find . -type f -name \*.icu -printf "%P\n" >>$(1:D=)
find . -type f -name \*.res -printf "%P\n" >>$(1:D=)
find . -type f -name \*.spp -printf "%P\n" >>$(1:D=)
find . -type f -name \*.brk -print | sed 's/^\.\///' >$(1:D=)
find . -type f -name \*.cfu -print | sed 's/^\.\///' >>$(1:D=)
find . -type f -name \*.cnv -print | sed 's/^\.\///' >>$(1:D=)
find . -type f -name \*.ctd -print | sed 's/^\.\///' >>$(1:D=)
find . -type f -name \*.icu -print | sed 's/^\.\///' >>$(1:D=)
find . -type f -name \*.res -print | sed 's/^\.\///' >>$(1:D=)
find . -type f -name \*.spp -print | sed 's/^\.\///' >>$(1:D=)
}
rule GeneratePackageInclude target