build(Makefile): containerized make help if no perl installed.
This commit is contained in:
parent
bb57451cbc
commit
829058aea4
6
Makefile
6
Makefile
@ -26,7 +26,11 @@ export DEV_PORT_HTTPS
|
|||||||
.PHONY: help
|
.PHONY: help
|
||||||
# HELP: print out this help message
|
# HELP: print out this help message
|
||||||
help:
|
help:
|
||||||
@utils/makehelp.pl Makefile
|
@if [ -z "$$(which perl 2>/dev/null)" ] ; then \
|
||||||
|
$(CONTAINER_COMMAND) run -v .:/mnt 'debian:12.5' '/mnt/utils/makehelp.pl' '/mnt/Makefile' ; \
|
||||||
|
else \
|
||||||
|
utils/makehelp.pl Makefile ; \
|
||||||
|
fi
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
# HELP: unfinished
|
# HELP: unfinished
|
||||||
|
|||||||
Reference in New Issue
Block a user