Skip to content

Commit

Permalink
Symlink of tu_collector to the bin directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bruntib committed Jun 26, 2019
1 parent 4e805c3 commit e1b975f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ build_tu_collector:

package_tu_collector: build_tu_collector package_dir_structure
# Copy tu_collector files.
cp -r $(CC_TOOLS)/tu_collector/build/tu_collector/tu_collector $(CC_BUILD_LIB_DIR)
cp -rp $(CC_TOOLS)/tu_collector/build/tu_collector/tu_collector $(CC_BUILD_LIB_DIR) && \
chmod u+x $(CC_BUILD_LIB_DIR)/tu_collector/tu_collector.py && \
cd $(CC_BUILD_DIR) && \
ln -sf ../lib/python2.7/tu_collector/tu_collector.py bin/tu_collector

package: package_dir_structure package_plist_to_html package_tu_collector
BUILD_DIR=$(BUILD_DIR) $(MAKE) -C $(CC_ANALYZER) package_analyzer
Expand Down
5 changes: 4 additions & 1 deletion analyzer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ build_tu_collector:

package_tu_collector: build_tu_collector package_dir_structure
# Copy tu_collector files.
cp -r $(CC_TOOLS)/tu_collector/build/tu_collector/tu_collector $(CC_BUILD_LIB_DIR)
cp -rp $(CC_TOOLS)/tu_collector/build/tu_collector/tu_collector $(CC_BUILD_LIB_DIR) && \
chmod u+x $(CC_BUILD_LIB_DIR)/tu_collector/tu_collector.py && \
cd $(CC_BUILD_DIR) && \
ln -sf ../lib/python2.7/tu_collector/tu_collector.py bin/tu_collector

# This target should be used from the top level Makefile to build the package
# together with the web part. This way we will not build plist-to-html
Expand Down

0 comments on commit e1b975f

Please sign in to comment.