build(Makefile): containerized make help if no perl installed.

This commit is contained in:
Stephan Barth 2024-09-23 11:57:46 +02:00
parent bb57451cbc
commit 829058aea4

View File

@ -26,7 +26,11 @@ export DEV_PORT_HTTPS
.PHONY: help
# HELP: print out this help message
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
# HELP: unfinished