Skip to content

Commit

Permalink
remove all but mettle artifacts from bin dir
Browse files Browse the repository at this point in the history
  • Loading branch information
busterb committed Nov 27, 2017
1 parent 588a9ac commit 0a293e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion make/Makefile.mettle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ $(BUILD)/mettle/Makefile: build/tools $(ROOT)/mettle/configure \

$(BUILD)/bin/mettle.built: $(BUILD)/mettle/Makefile
@echo "Building mettle for $(TARGET)"
@rm build/$(TARGET_BUILD_DIR)/bin/*
@cd $(BUILD)/mettle; \
$(MAKE_INSTALL) $(LOGBUILD)

Expand All @@ -61,7 +62,7 @@ METTLEDIR:=$(DATADIR)/mettle

install: mettle
@mkdir -p $(METTLEDIR)/$(TARGET_BUILD_DIR)/bin/
@cp build/$(TARGET_BUILD_DIR)/bin/mettle* $(METTLEDIR)/$(TARGET_BUILD_DIR)/bin/
@cp build/$(TARGET_BUILD_DIR)/bin/* $(METTLEDIR)/$(TARGET_BUILD_DIR)/bin/

uninstall:
@rm -rf $(METTLEDIR)/$(TARGET_BUILD_DIR)
3 changes: 1 addition & 2 deletions metasploit_payloads-mettle.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Gem::Specification.new do |spec|
spec.license = '3-clause (or "modified") BSD'

spec.files = `git ls-files lib/`.split("\n")
spec.files += Dir['build/*/bin/mettle*']
spec.files += Dir['build/*/bin/sniffer*']
spec.files += Dir['build/*/bin/*']
spec.executables = []
spec.require_paths = ['lib']

Expand Down

0 comments on commit 0a293e5

Please sign in to comment.