geforkt von mirrored/vaultwarden
cdf5b6ec2d
Add a dot indicting current directory to search by find. find in mac won't work without the dot
9 Zeilen
290 B
Makefile
9 Zeilen
290 B
Makefile
OBJECTS := $(shell find ./ -mindepth 2 -name 'Dockerfile*')
|
|
|
|
all: $(OBJECTS)
|
|
|
|
%/Dockerfile: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|
|
|
|
%/Dockerfile.alpine: Dockerfile.j2 render_template
|
|
./render_template "$<" "{\"target_file\":\"$@\"}" > "$@"
|