Merged changes from branch build_system_redesign at revision 14573.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-10-29 16:27:43 +00:00
parent 5412b02d50
commit 338b8dc301
1836 changed files with 114718 additions and 14057 deletions
+4 -43
View File
@@ -1,45 +1,6 @@
SubDir OBOS_TOP src documentation ;
SubDir HAIKU_TOP src documentation ;
XSLTPROC ?= xsltproc ;
SEARCH on <src!documentation>license.xml = [ FDirName $(HAIKU_TOP) src documentation ] ;
rule Doc2HTML
{
local source = [ FGristFiles $(1) ] ;
local target = $(2) ;
local xslsheet = $(3) ;
local basedir = [ FDirName $(OBOS_DISTRO_TARGET) beos documentation $(4) ] ;
local paths = $(5) ;
local options = $(6) ;
if ! $(target) {
target = $(1:S=.html) ;
}
SEARCH on $(source) = $(SEARCH_SOURCE) ;
MakeLocate $(target) : $(basedir) ;
if $(2) {
XSLBASEDIR on $(target) = -stringparam base.dir \"$(basedir)/\" ;
}
XSLSHEET on $(target) = $(xslsheet) ;
XSLOPTIONS on $(target) = $(options) ;
if $(2) = "" {
XSLOUTPUT on $(target) = "-o "\"$(target:D=$(basedir))\" ;
}
Depends $(target) : $(source) ;
LocalDepends doc_files : $(target) ;
XSLPROCPATHS on $(target) = -path \" $(paths:J=\ ) \" ;
Doc2HTML1 $(target) : $(source) ;
LocalClean clean : $(target) ;
}
actions Doc2HTML1
{
$(XSLTPROC) -xinclude $(XSLPROCPATHS) $(XSLBASEDIR) $(XSLOPTIONS) $(XSLOUTPUT) $(XSLSHEET) $(2)
}
SEARCH on <src!documentation>license.xml = [ FDirName $(OBOS_TOP) src documentation ] ;
#SubInclude OBOS_TOP src documentation haiku_book ;
SubInclude OBOS_TOP src documentation shell_tools ;
#SubInclude HAIKU_TOP src documentation haiku_book ;
SubInclude HAIKU_TOP src documentation shell_tools ;
+1 -1
View File
@@ -1,4 +1,4 @@
SubDir OBOS_TOP src documentation haiku_book ;
SubDir HAIKU_TOP src documentation haiku_book ;
Doc2HTML
Haiku_Book.xml
+4 -3
View File
@@ -1,14 +1,15 @@
SubDir OBOS_TOP src documentation shell_tools ;
SubDir HAIKU_TOP src documentation shell_tools ;
Doc2HTML
Shell_Tools-Guide.xml
: index.html
: http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
: Shell_Tools
: [ FDirName $(OBOS_OBJECT_TARGET) documentation Shell_Tools ] [ FDirName $(OBOS_TOP) src bin coreutils man ]
: [ FDirName $(HAIKU_DOCUMENTATION_OBJECT_DIR) Shell_Tools ]
[ FDirName $(HAIKU_TOP) src bin coreutils man ]
: -stringparam use.id.as.filename 1
;
Includes [ FGristFiles Shell_Tools-Guide.xml ] : <src!bin!coreutils!man>coreutils.xml <src!documentation>license.xml ;
SEARCH on <src!bin!coreutils!man>coreutils.xml = [ FDirName $(OBOS_TOP) src bin coreutils man ] ;
SEARCH on <src!bin!coreutils!man>coreutils.xml = [ FDirName $(HAIKU_TOP) src bin coreutils man ] ;