mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
tweaking makefile...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
648fe7f001
commit
1050b733e2
@ -311,6 +311,29 @@ help:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#**********************************************************************
|
||||||
|
### Dependency checking...
|
||||||
|
|
||||||
|
require(%):
|
||||||
|
@printf "%-15s %s\n" \
|
||||||
|
"$*" \
|
||||||
|
"`which $* &> /dev/null && echo '- OK' || echo '- FAIL'`"
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: check
|
||||||
|
check: ## Run all dependency checks
|
||||||
|
check: $(foreach dep,$(DEPENDENCIES),require($(dep)))
|
||||||
|
|
||||||
|
.PHONY: check-web
|
||||||
|
check-web: ## Run web build dependency checks
|
||||||
|
check-web: $(foreach dep,$(DEPENDENCIES_WEB),require($(dep)))
|
||||||
|
|
||||||
|
.PHONY: check-help
|
||||||
|
check-help: ## Run build dependency checks
|
||||||
|
check-help: $(foreach dep,$(DEPENDENCIES_HELP),require($(dep)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#**********************************************************************
|
#**********************************************************************
|
||||||
### Generic targets...
|
### Generic targets...
|
||||||
|
|
||||||
@ -479,28 +502,6 @@ nw-run: dev
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#**********************************************************************
|
|
||||||
### Dependency checking...
|
|
||||||
|
|
||||||
require(%):
|
|
||||||
@printf "%-15s %s\n" \
|
|
||||||
"$*" \
|
|
||||||
"`which $* &> /dev/null && echo '- OK' || echo '- FAIL'`"
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: check
|
|
||||||
check: ## Run all dependency checks
|
|
||||||
check: $(foreach dep,$(DEPENDENCIES),require($(dep)))
|
|
||||||
|
|
||||||
.PHONY: check-web
|
|
||||||
check-web: ## Run web build dependency checks
|
|
||||||
check-web: $(foreach dep,$(DEPENDENCIES_WEB),require($(dep)))
|
|
||||||
|
|
||||||
.PHONY: check-help
|
|
||||||
check-help: ## Run build dependency checks
|
|
||||||
check-help: $(foreach dep,$(DEPENDENCIES_HELP),require($(dep)))
|
|
||||||
|
|
||||||
|
|
||||||
#**********************************************************************
|
#**********************************************************************
|
||||||
# helpers...
|
# helpers...
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user