Changeset 9275 for trunk/make


Ignore:
Timestamp:
Sep 20, 2002, 5:39:41 AM (23 years ago)
Author:
bird
Message:

Rulename changes executable -> binary. miscellaneous -> misc. IPF support. BOOK, HELP and DOC publish.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/make/process.mak

    r9240 r9275  
    1 # $Id: process.mak,v 1.31 2002-09-14 23:27:04 bird Exp $
     1# $Id: process.mak,v 1.32 2002-09-20 03:39:41 bird Exp $
    22
    33#
     
    318318!endif
    319319
     320# Default public book dirs
     321!ifndef TARGET_BOOK_PUB_BASE
     322TARGET_BOOK_PUB_BASE = $(PATH_PUB)
     323!endif
     324!ifndef TARGET_BOOK_PUB_SUB
     325TARGET_BOOK_PUB_SUB = $(PATH_SUB_BOOK)
     326!endif
     327!ifndef TARGET_BOOK_PUB_DIR
     328TARGET_BOOK_PUB_DIR = $(TARGET_BOOK_PUB_BASE)\$(TARGET_BOOK_PUB_SUB)
     329!endif
     330
     331# Default public help dirs
     332!ifndef TARGET_HELP_PUB_BASE
     333TARGET_HELP_PUB_BASE = $(PATH_PUB)
     334!endif
     335!ifndef TARGET_HELP_PUB_SUB
     336TARGET_HELP_PUB_SUB = $(PATH_SUB_HELP)
     337!endif
     338!ifndef TARGET_HELP_PUB_DIR
     339TARGET_HELP_PUB_DIR = $(TARGET_HELP_PUB_BASE)\$(TARGET_HELP_PUB_SUB)
     340!endif
     341
     342# Default public docs dirs
     343!ifndef TARGET_DOC_PUB_BASE
     344TARGET_DOC_PUB_BASE = $(PATH_PUB)
     345!endif
     346!ifndef TARGET_DOC_PUB_SUB
     347TARGET_DOC_PUB_SUB = $(PATH_SUB_DOC)
     348!endif
     349!ifndef TARGET_DOC_PUB_DIR
     350TARGET_DOC_PUB_DIR = $(TARGET_DOC_PUB_BASE)\$(TARGET_DOC_PUB_SUB)
     351!endif
     352
    320353# Default depend filename.
    321354!ifndef TARGET_DEPEND
     
    429462# -----------------------------------------------------------------------------
    430463.SUFFIXES:
    431 .SUFFIXES: .c .cpp .orc .asm .$(EXT_OBJ) .$(EXT_RES) .rc .ii .s
     464.SUFFIXES: .c .cpp .orc .asm .$(EXT_OBJ) .$(EXT_RES) .rc .ii .s .ipp .ipf .$(EXT_INF) .$(EXT_HLP)
    432465
    433466#
     
    661694
    662695
     696# Compiling INFs.
     697.ipf{$(PATH_TARGET)}.$(EXT_INF):
     698    @$(ECHO) BOOK Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     699    \
     700!ifndef BUILD_VERBOSE
     701    @ \
     702!endif
     703    $(INFC_CMD)
     704
     705.ipf.inf:
     706    @$(ECHO) BOOK Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     707    \
     708!ifndef BUILD_VERBOSE
     709    @ \
     710!endif
     711    $(INFC_CMD)
     712
     713
     714# Compiling INFs with pre-compiling
     715.ipp{$(PATH_TARGET)}.$(EXT_INF):
     716    @$(ECHO) CC Pre + BOOK Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     717!ifndef CC_PC_2_STRIPPED_STDOUT
     718    $(TOOL_ECHO) $(CLRERR)fatal error: CC_PC_2_STRIPPED_STDOUT isn't supported on this compiler. $(CLRRST) && false
     719!endif
     720    \
     721!ifndef BUILD_VERBOSE
     722    @ \
     723!endif
     724    $(INFC_CMD_PRE)
     725
     726.ipp.inf:
     727    @$(ECHO) CC Pre + BOOK Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     728!ifndef CC_PC_2_STRIPPED_STDOUT
     729    $(TOOL_ECHO) $(CLRERR)fatal error: CC_PC_2_STRIPPED_STDOUT isn't supported on this compiler. $(CLRRST) && false
     730!endif
     731    \
     732!ifndef BUILD_VERBOSE
     733    @ \
     734!endif
     735    $(INFC_CMD_PRE)
     736
     737
     738# Compiling HLPs
     739.ipf{$(PATH_TARGET)}.$(EXT_HLP):
     740    @$(ECHO) HELP Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     741    \
     742!ifndef BUILD_VERBOSE
     743    @ \
     744!endif
     745    $(HLPC_CMD)
     746
     747.ipf.hlp:
     748    @$(ECHO) HELP Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     749    \
     750!ifndef BUILD_VERBOSE
     751    @ \
     752!endif
     753    $(HLPC_CMD)
     754
     755
     756# Compiling HLPs with pre-compiling
     757.ipp{$(PATH_TARGET)}.$(EXT_HLP):
     758    @$(ECHO) CC Pre + HELP Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     759!ifndef CC_PC_2_STRIPPED_STDOUT
     760    $(TOOL_ECHO) $(CLRERR)fatal error: CC_PC_2_STRIPPED_STDOUT isn't supported on this compiler. $(CLRRST) && false
     761!endif
     762    \
     763!ifndef BUILD_VERBOSE
     764    @ \
     765!endif
     766    $(HLPC_CMD_PRE)
     767
     768.ipp.hlp:
     769    @$(ECHO) CC Pre + HELP Compiler $(CLRFIL)$(_SRC)$(CLRRST)
     770!ifndef CC_PC_2_STRIPPED_STDOUT
     771    $(TOOL_ECHO) $(CLRERR)fatal error: CC_PC_2_STRIPPED_STDOUT isn't supported on this compiler. $(CLRRST) && false
     772!endif
     773    \
     774!ifndef BUILD_VERBOSE
     775    @ \
     776!endif
     777    $(HLPC_CMD_PRE)
    663778
    664779
     
    676791#   2. Make Needed Tools (stuff required in the next steps)
    677792#   3. Make Libraries (all kinds)
    678 #   4. Make Executables
     793#   4. Make Binaries (ie. executable files)
    679794#   5. Make Miscellaneous Targets
    680795#   6. Make Install
     
    703818        _build_banner_needed        needed \
    704819        _build_banner_lib           lib \
    705         _build_banner_executable    executable \
    706         _build_banner_miscellaneous miscellaneous \
     820        _build_banner_binary        binary \
     821        _build_banner_misc          misc \
    707822        _build_banner_publish       publish
    708823
     
    721836    @$(ECHO)$(CLRMAK)[Start Pass 3 - Make Libraries] $(CLRRST)
    722837    @SET _BUILD_PASS=3
    723 _build_banner_executable:
    724     @$(ECHO)$(CLRMAK)[Start Pass 4 - Make Executables] $(CLRRST)
     838_build_banner_binary:
     839    @$(ECHO)$(CLRMAK)[Start Pass 4 - Make Binaries] $(CLRRST)
    725840    @SET _BUILD_PASS=4
    726 _build_banner_miscellaneous:
     841_build_banner_misc:
    727842    @$(ECHO)$(CLRMAK)[Start Pass 5 - Make Miscellaneous Targets] $(CLRRST)
    728843    @SET _BUILD_PASS=5
     
    755870
    756871pass3:  _build_banner_lib           lib \
    757         _build_banner_executable    executable \
    758         _build_banner_miscellaneous miscellaneous \
     872        _build_banner_binary        binary \
     873        _build_banner_misc          misc \
    759874        _build_banner_publish       publish
    760875
    761 pass4:  _build_banner_executable    executable \
    762         _build_banner_miscellaneous miscellaneous \
     876pass4:  _build_banner_binary        binary \
     877        _build_banner_misc          misc \
    763878        _build_banner_publish       publish
    764879
    765 pass5:  _build_banner_miscellaneous miscellaneous \
     880pass5:  _build_banner_misc          misc \
    766881        _build_banner_publish       publish
    767882
     
    769884
    770885quick:  _build_banner_lib           lib \
    771         _build_banner_executable    executable \
     886        _build_banner_binary        binary \
    772887        _build_banner_publish       publish
    773888
     
    810925    @$(TOOL_DODIRS) "$(SUBDIRS_CLEAN)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@
    811926!else
    812 ! if "$(SUBDIRS)$(SUBDIRS_NEEDED)$(SUBDIRS_LIB)$(SUBDIRS_EXECUTABLES)$(SUBDIRS_MISC)" != ""
    813     @$(TOOL_DODIRS) "$(SUBDIRS) $(SUBDIRS_NEEDED) $(SUBDIRS_LIB) $(SUBDIRS_EXECUTABLES) $(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@
     927! if "$(SUBDIRS)$(SUBDIRS_NEEDED)$(SUBDIRS_LIB)$(SUBDIRS_BINARY)$(SUBDIRS_MISC)" != ""
     928    @$(TOOL_DODIRS) "$(SUBDIRS) $(SUBDIRS_NEEDED) $(SUBDIRS_LIB) $(SUBDIRS_BINARY) $(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@
    814929! endif
    815930!endif
     
    817932    @$(TOOL_DOMAKES) "$(PREMAKEFILES_CLEAN)" $(TOOL_MAKE) NODEP=1 $@
    818933!else
    819 ! if "$(PREMAKEFILES)$(PREMAKEFILES_NEEDED)$(PREMAKEFILES_LIB)$(PREMAKEFILES_EXECUTABLES)$(PREMAKEFILES_MISC)" != ""
    820     @$(TOOL_DOMAKES) "$(PREMAKEFILES) $(PREMAKEFILES_NEEDED) $(PREMAKEFILES_LIB) $(PREMAKEFILES_EXECUTABLES) $(PREMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
     934! if "$(PREMAKEFILES)$(PREMAKEFILES_NEEDED)$(PREMAKEFILES_LIB)$(PREMAKEFILES_BINARY)$(PREMAKEFILES_MISC)" != ""
     935    @$(TOOL_DOMAKES) "$(PREMAKEFILES) $(PREMAKEFILES_NEEDED) $(PREMAKEFILES_LIB) $(PREMAKEFILES_BINARY) $(PREMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
    821936! endif
    822937!endif
     
    824939    @$(TOOL_DOMAKES) "$(POSTMAKEFILES_CLEAN)" $(TOOL_MAKE) NODEP=1 $@
    825940!else
    826 ! if "$(POSTMAKEFILES)$(POSTMAKEFILES_NEEDED)$(POSTMAKEFILES_LIB)$(POSTMAKEFILES_EXECUTABLES)$(POSTMAKEFILES_MISC)" != ""
    827     @$(TOOL_DOMAKES) "$(POSTMAKEFILES) $(POSTMAKEFILES_NEEDED) $(POSTMAKEFILES_LIB) $(POSTMAKEFILES_EXECUTABLES) $(POSTMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
     941! if "$(POSTMAKEFILES)$(POSTMAKEFILES_NEEDED)$(POSTMAKEFILES_LIB)$(POSTMAKEFILES_BINARY)$(POSTMAKEFILES_MISC)" != ""
     942    @$(TOOL_DOMAKES) "$(POSTMAKEFILES) $(POSTMAKEFILES_NEEDED) $(POSTMAKEFILES_LIB) $(POSTMAKEFILES_BINARY) $(POSTMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
    828943! endif
    829944!endif
     
    863978    @$(TOOL_DODIRS) "$(SUBDIRS_DEP)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@
    864979!else
    865 ! if "$(SUBDIRS)$(SUBDIRS_NEEDED)$(SUBDIRS_LIB)$(SUBDIRS_EXECUTABLES)$(SUBDIRS_MISC)" != ""
    866     @$(TOOL_DODIRS) "$(SUBDIRS) $(SUBDIRS_NEEDED) $(SUBDIRS_LIB) $(SUBDIRS_EXECUTABLES) $(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@
     980! if "$(SUBDIRS)$(SUBDIRS_NEEDED)$(SUBDIRS_LIB)$(SUBDIRS_BINARY)$(SUBDIRS_MISC)" != ""
     981    @$(TOOL_DODIRS) "$(SUBDIRS) $(SUBDIRS_NEEDED) $(SUBDIRS_LIB) $(SUBDIRS_BINARY) $(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) NODEP=1 $@
    867982! endif
    868983!endif
     
    870985    @$(TOOL_DOMAKES) "$(PREMAKEFILES_DEP)" $(TOOL_MAKE) NODEP=1 $@
    871986!else
    872 ! if "$(PREMAKEFILES)$(PREMAKEFILES_NEEDED)$(PREMAKEFILES_LIB)$(PREMAKEFILES_EXECUTABLES)$(PREMAKEFILES_MISC)" != ""
    873     @$(TOOL_DOMAKES) "$(PREMAKEFILES) $(PREMAKEFILES_NEEDED) $(PREMAKEFILES_LIB) $(PREMAKEFILES_EXECUTABLES) $(PREMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
     987! if "$(PREMAKEFILES)$(PREMAKEFILES_NEEDED)$(PREMAKEFILES_LIB)$(PREMAKEFILES_BINARY)$(PREMAKEFILES_MISC)" != ""
     988    @$(TOOL_DOMAKES) "$(PREMAKEFILES) $(PREMAKEFILES_NEEDED) $(PREMAKEFILES_LIB) $(PREMAKEFILES_BINARY) $(PREMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
    874989! endif
    875990!endif
     
    877992    @$(TOOL_DOMAKES) "$(POSTMAKEFILES_DEP)" $(TOOL_MAKE) NODEP=1 $@
    878993!else
    879 ! if "$(POSTMAKEFILES)$(POSTMAKEFILES_NEEDED)$(POSTMAKEFILES_LIB)$(POSTMAKEFILES_EXECUTABLES)$(POSTMAKEFILES_MISC)" != ""
    880     @$(TOOL_DOMAKES) "$(POSTMAKEFILES) $(POSTMAKEFILES_NEEDED) $(POSTMAKEFILES_LIB) $(POSTMAKEFILES_EXECUTABLES) $(POSTMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
     994! if "$(POSTMAKEFILES)$(POSTMAKEFILES_NEEDED)$(POSTMAKEFILES_LIB)$(POSTMAKEFILES_BINARY)$(POSTMAKEFILES_MISC)" != ""
     995    @$(TOOL_DOMAKES) "$(POSTMAKEFILES) $(POSTMAKEFILES_NEEDED) $(POSTMAKEFILES_LIB) $(POSTMAKEFILES_BINARY) $(POSTMAKEFILES_MISC)" $(TOOL_MAKE) NODEP=1 $@
    881996! endif
    882997!endif
     
    9721087
    9731088# -----------------------------------------------------------------------------
    974 # Pass 4 - The executable rule - Build the executables.
    975 # -----------------------------------------------------------------------------
    976 !ifdef SUBDIRS_EXECUTABLE
    977 _SUBDIRS_EXECUTABLE = _subdir_executable
    978 $(_SUBDIRS_EXECUTABLE):
    979     @$(TOOL_DODIRS) "$(SUBDIRS_EXECUTABLE)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) executable
     1089# Pass 4 - The binary rule - Build the binary.
     1090# -----------------------------------------------------------------------------
     1091!ifdef SUBDIRS_BINARY
     1092_SUBDIRS_BINARY = _subdir_binary
     1093$(_SUBDIRS_BINARY):
     1094    @$(TOOL_DODIRS) "$(SUBDIRS_BINARY)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) binary
    9801095!else
    9811096! ifdef SUBDIRS
    982 _SUBDIRS_EXECUTABLE = _subdir_executable
    983 $(_SUBDIRS_EXECUTABLE):
    984     @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) executable
    985 ! endif
    986 !endif
    987 
    988 !ifdef PREMAKEFILES_EXECUTABLE
    989 _PREMAKEFILES_EXECUTABLE = _premakefiles_executable
    990 $(_PREMAKEFILES_EXECUTABLE):
    991     @$(TOOL_DOMAKES) "$(PREMAKEFILES_EXECUTABLE)" $(TOOL_MAKE) executable
     1097_SUBDIRS_BINARY = _subdir_binary
     1098$(_SUBDIRS_BINARY):
     1099    @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) binary
     1100! endif
     1101!endif
     1102
     1103!ifdef PREMAKEFILES_BINARY
     1104_PREMAKEFILES_BINARY = _premakefiles_binary
     1105$(_PREMAKEFILES_BINARY):
     1106    @$(TOOL_DOMAKES) "$(PREMAKEFILES_BINARY)" $(TOOL_MAKE) binary
    9921107!else
    9931108! ifdef PREMAKEFILES
    994 _PREMAKEFILES_EXECUTABLE = _premakefiles_executable
    995 $(_PREMAKEFILES_EXECUTABLE):
    996     @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) executable
    997 ! endif
    998 !endif
    999 
    1000 executable: \
     1109_PREMAKEFILES_BINARY = _premakefiles_binary
     1110$(_PREMAKEFILES_BINARY):
     1111    @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) binary
     1112! endif
     1113!endif
     1114
     1115binary executable: \
    10011116!if "$(TARGET_MODE)" != "LIB" && "$(TARGET_MODE)" != "SYSLIB" && "$(TARGET_MODE)" != "IFSLIB" && !defined(TARGET_NEEDED)
    1002         $(_SUBDIRS_EXECUTABLE) $(_PREMAKEFILES_EXECUTABLE) $(TARGET) $(_TARGET_EARLY_PUBLISH)
    1003 !else
    1004         $(_SUBDIRS_EXECUTABLE) $(_PREMAKEFILES_EXECUTABLE)
    1005 !endif
    1006 !ifdef POSTMAKEFILES_EXECUTABLE
    1007     @$(TOOL_DOMAKES) "$(POSTMAKEFILES_EXECUTABLE)" $(TOOL_MAKE) $@
     1117        $(_SUBDIRS_BINARY) $(_PREMAKEFILES_BINARY) $(TARGET) $(_TARGET_EARLY_PUBLISH)
     1118!else
     1119        $(_SUBDIRS_BINARY) $(_PREMAKEFILES_BINARY)
     1120!endif
     1121!ifdef POSTMAKEFILES_BINARY
     1122    @$(TOOL_DOMAKES) "$(POSTMAKEFILES_BINARY)" $(TOOL_MAKE) $@
    10081123!else
    10091124! ifdef POSTMAKEFILES
     
    10151130
    10161131# -----------------------------------------------------------------------------
    1017 # Pass 5 - The miscellaneous rule - Makes other miscellaneous stuff like
    1018 #   documentations etc. This is experimental for the moment.
     1132# Pass 5 - The misc(ellaneous) rule - Makes miscellaneous stuff like
     1133#   help, documentations etc. This is experimental for the moment.
    10191134# -----------------------------------------------------------------------------
    10201135!ifdef SUBDIRS_MISC
    10211136_SUBDIRS_MISC = _subdir_misc
    10221137$(_SUBDIRS_MISC):
    1023     @$(TOOL_DODIRS) "$(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) miscellaneous
     1138    @$(TOOL_DODIRS) "$(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) misc
    10241139!else
    10251140! ifdef SUBDIRS
    10261141_SUBDIRS_MISC = _subdir_misc
    10271142$(_SUBDIRS_MISC):
    1028     @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) miscellaneous
     1143    @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) misc
    10291144! endif
    10301145!endif
     
    10331148_PREMAKEFILES_MISC = _premakefiles_misc
    10341149$(PREMAKEFILES_MISC):
    1035     @$(TOOL_DOMAKES) "$(PREMAKEFILES_MISC)" $(TOOL_MAKE) miscellaneous
     1150    @$(TOOL_DOMAKES) "$(PREMAKEFILES_MISC)" $(TOOL_MAKE) misc
    10361151!else
    10371152! ifdef PREMAKEFILES
    10381153_PREMAKEFILES_MISC = _premakefiles_misc
    10391154$(_PREMAKEFILES_MISC):
    1040     @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) miscellaneous
    1041 ! endif
    1042 !endif
    1043 
    1044 miscellaneous: $(_SUBDIRS_MISC) $(_PREMAKEFILES_MISC) \
    1045                 $(TARGET_DOCS) $(TARGET_MISC)
    1046 !if "$(TARGET_DOCS)$(TARGET_MISC)" != ""
    1047     @$(ECHO) Successfully Built $(CLRFIL)$(TARGET_DOCS) $(TARGET_MISC)$(CLRRST)
     1155    @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) misc
     1156! endif
     1157!endif
     1158
     1159misc miscellaneous: $(_SUBDIRS_MISC) $(_PREMAKEFILES_MISC) \
     1160                    $(TARGET_BOOKS) $(TARGET_HELPS) $(TARGET_DOCS) $(TARGET_MISC)
     1161!if "$(TARGET_BOOKS)$(TARGET_HELPS)$(TARGET_DOCS)$(TARGET_MISC)" != ""
     1162    @$(ECHO) Successfully Built $(CLRFIL)$(TARGET_BOOKS) $(TARGET_HELPS) $(TARGET_DOCS) $(TARGET_MISC)$(CLRRST)
    10481163!endif
    10491164!ifdef POSTMAKEFILES_MISC
     
    11121227! endif
    11131228!endif
     1229!if "$(TARGET_BOOKS)" != ""
     1230    @$(ECHO) Publishing Book(s) $(CLRFIL)$(TARGET_BOOKS)$(CLRTXT) to directory $(CLRFIL)$(TARGET_BOOK_PUB_DIR)$(CLRRST)
     1231    @if not exist "$(TARGET_BOOK_PUB_DIR)" $(TOOL_CREATEPATH) $(TARGET_BOOK_PUB_DIR)
     1232    @$(TOOL_COPY) $(TARGET_BOOKS) $(TARGET_BOOK_PUB_DIR)
     1233!endif
     1234!if "$(TARGET_HELPS)" != ""
     1235    @$(ECHO) Publishing Help file(s) $(CLRFIL)$(TARGET_HELPS)$(CLRTXT) to directory $(CLRFIL)$(TARGET_HELP_PUB_DIR)$(CLRRST)
     1236    @if not exist "$(TARGET_HELP_PUB_DIR)" $(TOOL_CREATEPATH) $(TARGET_HELP_PUB_DIR)
     1237    @$(TOOL_COPY) $(TARGET_HELPS) $(TARGET_HELP_PUB_DIR)
     1238!endif
    11141239!if "$(TARGET_DOCS)" != ""
    1115     $(TOOL_COPY) $(TARGET_DOCS) $(PATH_DOC)
     1240    @$(ECHO) Publishing Doc(s) $(CLRFIL)$(TARGET_DOCS)$(CLRTXT) to directory $(CLRFIL)$(TARGET_DOC_PUB_DIR)$(CLRRST)
     1241    @if not exist "$(TARGET_DOC_PUB_DIR)" $(TOOL_CREATEPATH) $(TARGET_DOC_PUB_DIR)
     1242    @$(TOOL_COPY) $(TARGET_DOCS) $(TARGET_DOC_PUB_DIR)
    11161243!endif
    11171244
Note: See TracChangeset for help on using the changeset viewer.