Skip to content

Commit

Permalink
Merge pull request Ericsson#4010 from vodorok/config_sym
Browse files Browse the repository at this point in the history
[QoL] Add config folder contents to the dev_package target
  • Loading branch information
bruntib authored Sep 25, 2023
2 parents f59e0fe + 1ae30cd commit f9874ce
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,28 @@ dev_package: package
rm -rf $(CC_BUILD_LIB_DIR)/codechecker_web && \
rm -rf $(CC_BUILD_LIB_DIR)/codechecker_server && \
rm -rf $(CC_BUILD_LIB_DIR)/codechecker_report_converter && \
rm -rf $(CC_BUILD_LIB_DIR)/codechecker_client
rm -rf $(CC_BUILD_LIB_DIR)/codechecker_client && \
rm -rf $(CC_BUILD_DIR)/config && \
mkdir -p $(CC_BUILD_DIR)/config

ln -fsv $(ROOT)/codechecker_common $(CC_BUILD_LIB_DIR) && \
ln -fsv $(CC_ANALYZER)/codechecker_analyzer $(CC_BUILD_LIB_DIR) && \
ln -fsv $(CC_WEB)/codechecker_web $(CC_BUILD_LIB_DIR) && \
ln -fsv $(CC_SERVER)/codechecker_server $(CC_BUILD_LIB_DIR) && \
ln -fsv $(CC_TOOLS)/report-converter/codechecker_report_converter $(CC_BUILD_LIB_DIR) && \
ln -fsv $(CC_CLIENT)/codechecker_client $(CC_BUILD_LIB_DIR)
ln -fsv $(CC_CLIENT)/codechecker_client $(CC_BUILD_LIB_DIR) && \
ln -fsv $(ROOT)/config/* $(CC_BUILD_DIR)/config && \
ln -fsv $(CC_ANALYZER)/config/* $(CC_BUILD_DIR)/config && \
ln -fsv $(CC_WEB)/config/* $(CC_BUILD_DIR)/config && \
ln -fsv $(CC_SERVER)/config/* $(CC_BUILD_DIR)/config

${PYTHON_BIN} ./scripts/build/create_commands.py -b $(BUILD_DIR) \
--cmd-dir $(ROOT)/codechecker_common/cmd \
$(CC_WEB)/codechecker_web/cmd \
$(CC_SERVER)/codechecker_server/cmd \
$(CC_CLIENT)/codechecker_client/cmd \
$(CC_ANALYZER)/codechecker_analyzer/cmd \
--bin-file $(ROOT)/bin/CodeChecker

package_api:
BUILD_DIR=$(BUILD_DIR) $(MAKE) -C $(CC_WEB) package_api
Expand Down

0 comments on commit f9874ce

Please sign in to comment.