Skip to content

Commit 576baa9

Browse files
committed
fix build-docs errors
1 parent 608ac26 commit 576baa9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ EIL_COPYRIGHT!= $(EIL_CMD) copyright_string
5252
EIL_CODEOWNERS!= $(EIL_CMD) code_owners
5353
EIL_VERSION!= $(EIL_CMD) version
5454

55+
LIB8STATIC= inline static
56+
LIB8STATIC_ALWAYS_INLINE= inline static
57+
5558
BUILD_ENV= env PROJECT_NAME="$(EIL_NAME)" \
5659
PROJECT_BRIEF="$(EIL_DESCRIPTION)" \
5760
PROJECT_COPYRIGHT="$(EIL_COPYRIGHT)" \
@@ -72,8 +75,8 @@ $(DOXYGEN_OUTPUT_DIR):
7275
# generate XML files from sources with doxygen
7376
$(DOXYGEN_XML_FILE): $(DOXYGEN_OUTPUT_DIR)
7477
# $(BUILD_ENV) $(DOXYGEN) $(DOXYGEN_FLAGS) $(DOXYGEN_CONF)
75-
$(SED) -i 's/LIB8STATIC_ALWAYS_INLINE/inline static/g' $(DOXYGEN_XML_DIR)/*.xml
76-
$(SED) -i 's/LIB8STATIC/inline static/g' $(DOXYGEN_XML_DIR)/*.xml
78+
$(SED) -i 's|LIB8STATIC_ALWAYS_INLINE</ref>|$(LIB8STATIC_ALWAYS_INLINE)</ref>|g' $(DOXYGEN_XML_DIR)/*.xml
79+
$(SED) -i 's|LIB8STATIC</ref>|$(LIB8STATIC)</ref>|g' $(DOXYGEN_XML_DIR)/*.xml
7780

7881
build-doxygen: $(DOXYGEN_XML_FILE)
7982

0 commit comments

Comments
 (0)