From dd9b4a3f10fcf12f43a192afd23cb1aaa7f56ea2 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 22 Jun 2015 11:51:37 -0400 Subject: [PATCH] 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. --- Jamrules | 1 - build/jam/DocumentationRules | 33 --------------------------------- 2 files changed, 34 deletions(-) delete mode 100644 build/jam/DocumentationRules diff --git a/Jamrules b/Jamrules index 7e59b941dd..803dd220ab 100644 --- a/Jamrules +++ b/Jamrules @@ -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 ] ; diff --git a/build/jam/DocumentationRules b/build/jam/DocumentationRules deleted file mode 100644 index 7b809f12e0..0000000000 --- a/build/jam/DocumentationRules +++ /dev/null @@ -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 ; - local source ; - for source in [ FGristFiles $(1) ] - { - local target = $(source:S=.xml) ; - - Man2Doc $(target) : $(source) ; - } -}