Skip to content

Commit 6e4b1ab

Browse files
committed
stop build for apt v1
1 parent 5a87ff2 commit 6e4b1ab

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

Makefile

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,16 @@ rpm-v2-arm:
8181
--target aarch64 -bb packaging/rpm/mackerel-check-plugins-v2.spec
8282

8383
.PHONY: deb
84-
deb: deb-v1 deb-v2
84+
deb: deb-x86 deb-arm
8585

86-
.PHONY: deb-v1
87-
deb-v1:
88-
make build GOOS=linux GOARCH=386
89-
for i in `cat packaging/deb/debian/source/include-binaries`; do \
90-
cp build/`basename $$i` packaging/deb/debian/; \
91-
done
92-
cd packaging/deb && debuild --no-tgz-check -rfakeroot -uc -us
93-
94-
.PHONY: deb-v2
95-
deb-v2: deb-v2-x86 deb-v2-arm
96-
97-
.PHONY: deb-v2-x86
98-
deb-v2-x86:
86+
.PHONY: deb-x86
87+
deb-x86:
9988
make build/mackerel-check GOOS=linux GOARCH=amd64
10089
cp build/mackerel-check packaging/deb-v2/debian/
10190
cd packaging/deb-v2 && debuild --no-tgz-check -rfakeroot -uc -us
10291

103-
.PHONY: deb-v2-arm
104-
deb-v2-arm:
92+
.PHONY: deb-arm
93+
deb-arm:
10594
make build/mackerel-check GOOS=linux GOARCH=arm64
10695
cp build/mackerel-check packaging/deb-v2/debian/
10796
cd packaging/deb-v2 && debuild --no-tgz-check -rfakeroot -uc -us -aarm64

0 commit comments

Comments
 (0)