mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
4aac71f705
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14522)
27 lines
555 B
Makefile
27 lines
555 B
Makefile
GRAPHS=cipher.dot digest.dot kdf.dot mac.dot pkey.dot rand.dot
|
|
IMAGES=
|
|
|
|
all: png txt
|
|
png: $(subst .dot,.png,$(GRAPHS))
|
|
txt: $(subst .dot,.txt,$(GRAPHS))
|
|
@echo
|
|
@echo Remember to check and manually fix the mistakes before merging
|
|
@echo into the man pages.
|
|
@echo
|
|
|
|
# for the dot program:
|
|
# sudo apt install graphviz
|
|
%.png: %.dot
|
|
dot -Tpng -O $<
|
|
@mv $<.png $@
|
|
|
|
# for the graph-easy program:
|
|
# sudo apt install cpanminus
|
|
# sudo cpanm Graph::Easy
|
|
%.txt: %.dot
|
|
graph-easy --from=dot --as_ascii < $< > $@
|
|
|
|
clean:
|
|
rm -f $(wildcard *.png) $(wildcard *.txt)
|
|
|