mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Makefile: Minor readability update of the image, demo name parsing
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
This commit is contained in:
parent
23193879c9
commit
0abc8a7497
4
Makefile
4
Makefile
@ -145,14 +145,14 @@ ifeq ($(TAG),devel)
|
||||
@$(BUILDER) pull clearlinux:latest
|
||||
endif
|
||||
|
||||
images = $(shell ls build/docker/*.Dockerfile | sed 's/.*\/\(.\+\)\.Dockerfile/\1/')
|
||||
images = $(shell basename -s .Dockerfile -a build/docker/*.Dockerfile)
|
||||
|
||||
$(images):
|
||||
@build/docker/build-image.sh $(REG)$@ $(BUILDER) $(EXTRA_BUILD_ARGS)
|
||||
|
||||
images: $(images)
|
||||
|
||||
demos = $(shell cd demo/ && ls -d */ | sed 's/\(.\+\)\//\1/g')
|
||||
demos = $(shell basename -a demo/*/)
|
||||
|
||||
$(demos):
|
||||
@cd demo/ && ./build-image.sh $(REG)$@ $(BUILDER)
|
||||
|
Loading…
Reference in New Issue
Block a user