Skip to content

Commit

Permalink
remove build-for-packaging on Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
yseto committed Aug 7, 2023
1 parent 025f28e commit 978c8ff
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 67 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ build:
$(MAKE) $(BINDIR)/$$i; \
done

.PHONY: build-for-packaging
build-for-packaging:
for i in `cat packaging/plugin-lists`; do \
$(MAKE) $(BINDIR)/$$i; \
done

build/mackerel-plugin: $(patsubst %,depends_on,$(GOOS)$(GOARCH))
mkdir -p build
CGO_ENABLED=0 go build -ldflags="-s -w -X main.gitcommit=$(CURRENT_REVISION)" \
Expand Down
52 changes: 0 additions & 52 deletions packaging/plugin-lists

This file was deleted.

9 changes: 0 additions & 9 deletions tool/gen_mackerel_plugin.pl
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@ sub update_packaging_specs {
replace $_, $replace_sub for ("packaging/rpm/$PACKAGE_NAME*.spec", "packaging/deb*/debian/rules");
}

sub update_packaging_binaries_list {
my @plugins = @_;
write_file(
'packaging/plugin-lists',
join("\n", map { "$PLUGIN_PREFIX$_" } @plugins) . "\n"
);
}

####
# file utility
####
Expand Down Expand Up @@ -116,7 +108,6 @@ sub subtask {
map { $_->{name} } @{ $config->{'external-plugins'} },
);
update_packaging_specs(sort @all_plugins);
update_packaging_binaries_list(sort @all_plugins);
}

subtask();
Expand Down

0 comments on commit 978c8ff

Please sign in to comment.