mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-23 11:29:04 +00:00
cdf5b6ec2d
Add a dot indicting current directory to search by find. find in mac won't work without the dot
10 lines
290 B
Makefile
10 lines
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\":\"$@\"}" > "$@"
|