build: delete DocumentationRules.

These were only used as an experiment for converting coreutils
manpages to different formats, and as coreutils is no longer in the
tree, they aren't used.
This commit is contained in:
Augustin Cavalier 2015-06-22 11:51:37 -04:00
parent 00c90992ff
commit dd9b4a3f10
2 changed files with 0 additions and 34 deletions

View File

@ -50,7 +50,6 @@ include [ FDirName $(HAIKU_BUILD_RULES_DIR) BuildFeatureRules ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) LocaleRules ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) CommandLineArguments ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) ConfigRules ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) DocumentationRules ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) FileRules ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) HeadersRules ] ;
include [ FDirName $(HAIKU_BUILD_RULES_DIR) KernelRules ] ;

View File

@ -1,33 +0,0 @@
rule Man2Doc
{
local source = [ FGristFiles $(2) ] ;
local binary = $(1) ;
SEARCH on $(source) = $(SEARCH_SOURCE) ;
MakeLocate $(binary)
: [ FDirName $(HAIKU_DOCUMENTATION_OBJECT_DIR) Shell_Tools ] ;
Depends $(binary) : $(source) rman ;
LocalDepends doc_files : $(binary) ;
Man2Doc1 $(binary) : rman $(source) ;
LocalClean clean : $(binary) ;
}
actions Man2Doc1
{
$(2[1]) -f XML "$(2[2])" > "$(1)" ;
}
rule Man2Docs
{
# Man2Docs <sources> ;
local source ;
for source in [ FGristFiles $(1) ]
{
local target = $(source:S=.xml) ;
Man2Doc $(target) : $(source) ;
}
}