make/UpdateBuildDocs.gmk
changeset 58909 66f7d2494d4e
parent 55166 2ae056696b15
equal deleted inserted replaced
58908:73bb9c4002cc 58909:66f7d2494d4e
     1 #
     1 #
     2 # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    43 
    43 
    44 ################################################################################
    44 ################################################################################
    45 
    45 
    46 DOCS_DIR := $(TOPDIR)/doc
    46 DOCS_DIR := $(TOPDIR)/doc
    47 
    47 
    48 $(eval $(call SetupProcessMarkdown, building, \
    48 $(eval $(call SetupProcessMarkdown, md_docs, \
    49   FILES := $(DOCS_DIR)/building.md, \
    49   FILES := $(call FindFiles, $(DOCS_DIR), *.md), \
    50   DEST := $(DOCS_DIR), \
    50   DEST := $(DOCS_DIR), \
    51   CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
    51   CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
    52   OPTIONS := --toc, \
    52   OPTIONS := --toc, \
    53 ))
    53 ))
    54 TARGETS += $(building)
    54 TARGETS += $(md_docs)
    55 
       
    56 $(eval $(call SetupProcessMarkdown, testing, \
       
    57   FILES := $(DOCS_DIR)/testing.md, \
       
    58   DEST := $(DOCS_DIR), \
       
    59   CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
       
    60   OPTIONS := --toc, \
       
    61 ))
       
    62 TARGETS += $(testing)
       
    63 
       
    64 $(eval $(call SetupProcessMarkdown, ide, \
       
    65   FILES := $(DOCS_DIR)/ide.md, \
       
    66   DEST := $(DOCS_DIR), \
       
    67   CSS := $(GLOBAL_SPECS_DEFAULT_CSS_FILE), \
       
    68   OPTIONS := --toc, \
       
    69 ))
       
    70 TARGETS += $(ide)
       
    71 
    55 
    72 ################################################################################
    56 ################################################################################
    73 
    57 
    74 $(eval $(call IncludeCustomExtension, UpdateBuildDocs.gmk))
    58 $(eval $(call IncludeCustomExtension, UpdateBuildDocs.gmk))
    75 
    59