mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
move the target 'clean' next to 'all'
Signed-off-by: lfbzhm <lifubang@acmcoder.com>
This commit is contained in:
@@ -77,6 +77,18 @@ all: runc recvtty sd-helper seccompagent fs-idmap memfd-bind pidfd-kill remap-ro
|
|||||||
recvtty sd-helper seccompagent fs-idmap memfd-bind pidfd-kill remap-rootfs:
|
recvtty sd-helper seccompagent fs-idmap memfd-bind pidfd-kill remap-rootfs:
|
||||||
$(GO_BUILD) -o contrib/cmd/$@/$@ ./contrib/cmd/$@
|
$(GO_BUILD) -o contrib/cmd/$@/$@ ./contrib/cmd/$@
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
rm -f runc runc-* libcontainer/dmz/runc-dmz
|
||||||
|
rm -f contrib/cmd/recvtty/recvtty
|
||||||
|
rm -f contrib/cmd/sd-helper/sd-helper
|
||||||
|
rm -f contrib/cmd/seccompagent/seccompagent
|
||||||
|
rm -f contrib/cmd/fs-idmap/fs-idmap
|
||||||
|
rm -f contrib/cmd/memfd-bind/memfd-bind
|
||||||
|
rm -f contrib/cmd/pidfd-kill/pidfd-kill
|
||||||
|
sudo rm -rf release
|
||||||
|
rm -rf man/man8
|
||||||
|
|
||||||
.PHONY: static
|
.PHONY: static
|
||||||
static: static-bin verify-dmz-arch
|
static: static-bin verify-dmz-arch
|
||||||
|
|
||||||
@@ -186,18 +198,6 @@ install-man: man
|
|||||||
install -d -m 755 $(DESTDIR)$(MANDIR)/man8
|
install -d -m 755 $(DESTDIR)$(MANDIR)/man8
|
||||||
install -D -m 644 man/man8/*.8 $(DESTDIR)$(MANDIR)/man8
|
install -D -m 644 man/man8/*.8 $(DESTDIR)$(MANDIR)/man8
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
rm -f runc runc-* libcontainer/dmz/runc-dmz
|
|
||||||
rm -f contrib/cmd/fs-idmap/fs-idmap
|
|
||||||
rm -f contrib/cmd/recvtty/recvtty
|
|
||||||
rm -f contrib/cmd/sd-helper/sd-helper
|
|
||||||
rm -f contrib/cmd/seccompagent/seccompagent
|
|
||||||
rm -f contrib/cmd/memfd-bind/memfd-bind
|
|
||||||
rm -f contrib/cmd/pidfd-kill/pidfd-kill
|
|
||||||
sudo rm -rf release
|
|
||||||
rm -rf man/man8
|
|
||||||
|
|
||||||
.PHONY: cfmt
|
.PHONY: cfmt
|
||||||
cfmt: C_SRC=$(shell git ls-files '*.c' | grep -v '^vendor/')
|
cfmt: C_SRC=$(shell git ls-files '*.c' | grep -v '^vendor/')
|
||||||
cfmt:
|
cfmt:
|
||||||
|
|||||||
Reference in New Issue
Block a user