summaryrefslogtreecommitdiffstats
path: root/inf/rn/predst/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inf/rn/predst/makefile')
-rw-r--r--inf/rn/predst/makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/inf/rn/predst/makefile b/inf/rn/predst/makefile
new file mode 100644
index 0000000..5838f8c
--- /dev/null
+++ b/inf/rn/predst/makefile
@@ -0,0 +1,18 @@
+default: bt.png dht.png log.png p2p.png
+
+bt.png:
+ wget -O- https://upload.wikimedia.org/wikipedia/commons/0/09/BitTorrent_network.svg | sed -e s/Downloader/Soležnik/ -e s/Uploader/Soležnik/ | convert /dev/stdin bt.png
+
+log.png:
+ wget -O- https://upload.wikimedia.org/wikipedia/commons/6/63/Dht_example_SVG.svg | convert /dev/stdin log.png
+
+dht.png:
+ convert dht.svg dht.png
+
+p2p.png:
+ wget -Op2p.png https://upload.wikimedia.org/wikipedia/commons/f/fa/Unstructured_peer-to-peer_network_diagram.png
+
+clean:
+ rm -f *.png
+
+.PHONY: clean