From 8e4f760cb88c16de1d11f14d20e8cf847e8dd8c7 Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Tue, 7 Jun 2011 17:52:13 +0000 Subject: [PATCH] Apply patch from mmadia to add a Release Notes file to the alpha image desktop. Allow wget to output to files with spaces in the DownloadFile rule. Fixes #7609. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42015 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/FileRules | 2 +- build/jam/ReleaseBuildProfiles | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build/jam/FileRules b/build/jam/FileRules index fa916236e0..788dcfcd3b 100644 --- a/build/jam/FileRules +++ b/build/jam/FileRules @@ -372,7 +372,7 @@ rule DownloadLocatedFile target : url actions DownloadLocatedFile1 { - wget -O $(1) $(URL) + wget -O "$(1)" $(URL) } rule DownloadFile file : url diff --git a/build/jam/ReleaseBuildProfiles b/build/jam/ReleaseBuildProfiles index e0bb587cd6..5e6472e0dc 100644 --- a/build/jam/ReleaseBuildProfiles +++ b/build/jam/ReleaseBuildProfiles @@ -26,6 +26,11 @@ switch $(HAIKU_BUILD_PROFILE) { AddOptionalHaikuImagePackages CVS Development Git Mercurial Python Subversion OpenSSH OpenSSL ; AddOptionalHaikuImagePackages Nano P7zip Welcome BeBook XZ-Utils ; + + local releaseNotesURL = http://dev.haiku-os.org/wiki/R1/Alpha3/ReleaseNotes?format=txt ; + local releaseNotesName = "Release Notes" ; + local releaseNotesFile = [ DownloadFile $(releaseNotesName) : $(releaseNotesURL) ] ; + AddFilesToHaikuImage home Desktop : $(releaseNotesFile) ; } case "beta-*" : {