1
0
angie-conv-image/doc/examples/ssl/demo-ca/Makefile

13 lines
285 B
Makefile
Raw Permalink Normal View History

2024-09-20 03:10:13 +03:00
#!/usr/bin/make -f
intermediate_ca_certs := 1-CA-Internal.crt
certs := $(patsubst %.pem,%.crt,$(sort $(wildcard *.pem)))
target_certs := $(patsubst %.crt,%.chain.crt,$(certs))
.PHONY: all
all: $(target_certs)
%.chain.crt: %.crt $(intermediate_ca_certs)
cat $+ | tee $@ >/dev/null