From 4ab3397992245cdff207041a424df14b450186dd Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 21 Feb 2009 23:40:54 -0700 Subject: [PATCH] docs: move many specification-like documents into specifications/ --- docs/Makefile | 4 +--- docs/{ => specifications}/CHK-hashes.svg | 0 docs/specifications/Makefile | 19 +++++++++++++++++++ docs/{ => specifications}/URI-extension.txt | 0 docs/{ => specifications}/dirnodes.txt | 0 docs/{ => specifications}/file-encoding.txt | 0 docs/{ => specifications}/file-encoding1.svg | 0 docs/{ => specifications}/file-encoding2.svg | 0 docs/{ => specifications}/file-encoding3.svg | 0 docs/{ => specifications}/file-encoding4.svg | 0 docs/{ => specifications}/file-encoding5.svg | 0 docs/{ => specifications}/file-encoding6.svg | 0 docs/{ => specifications}/mut.svg | 0 docs/{ => specifications}/mutable.txt | 0 docs/{ => specifications}/uri.txt | 0 15 files changed, 20 insertions(+), 3 deletions(-) rename docs/{ => specifications}/CHK-hashes.svg (100%) create mode 100644 docs/specifications/Makefile rename docs/{ => specifications}/URI-extension.txt (100%) rename docs/{ => specifications}/dirnodes.txt (100%) rename docs/{ => specifications}/file-encoding.txt (100%) rename docs/{ => specifications}/file-encoding1.svg (100%) rename docs/{ => specifications}/file-encoding2.svg (100%) rename docs/{ => specifications}/file-encoding3.svg (100%) rename docs/{ => specifications}/file-encoding4.svg (100%) rename docs/{ => specifications}/file-encoding5.svg (100%) rename docs/{ => specifications}/file-encoding6.svg (100%) rename docs/{ => specifications}/mut.svg (100%) rename docs/{ => specifications}/mutable.txt (100%) rename docs/{ => specifications}/uri.txt (100%) diff --git a/docs/Makefile b/docs/Makefile index 04db86d8..49007217 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,7 +1,5 @@ -SOURCES = CHK-hashes.svg file-encoding1.svg file-encoding2.svg \ - file-encoding3.svg file-encoding4.svg file-encoding5.svg \ - file-encoding6.svg subtree1.svg lease-tradeoffs.svg +SOURCES = subtree1.svg lease-tradeoffs.svg PNGS = $(patsubst %.svg,%.png,$(SOURCES)) EPSS = $(patsubst %.svg,%.eps,$(SOURCES)) diff --git a/docs/CHK-hashes.svg b/docs/specifications/CHK-hashes.svg similarity index 100% rename from docs/CHK-hashes.svg rename to docs/specifications/CHK-hashes.svg diff --git a/docs/specifications/Makefile b/docs/specifications/Makefile new file mode 100644 index 00000000..2625e04d --- /dev/null +++ b/docs/specifications/Makefile @@ -0,0 +1,19 @@ +SOURCES = CHK-hashes.svg file-encoding1.svg file-encoding2.svg \ + file-encoding3.svg file-encoding4.svg file-encoding5.svg \ + file-encoding6.svg + +PNGS = $(patsubst %.svg,%.png,$(SOURCES)) +EPSS = $(patsubst %.svg,%.eps,$(SOURCES)) + +.PHONY: images-png images-eps +all: $(PNGS) $(EPSS) +images-png: $(PNGS) +images-eps: $(EPSS) + +%.png: %.svg + inkscape -b white -d 90 -D --export-png $@ $< +%.eps: %.svg + inkscape --export-eps $@ $< + +clean: + rm -f *.png *.eps diff --git a/docs/URI-extension.txt b/docs/specifications/URI-extension.txt similarity index 100% rename from docs/URI-extension.txt rename to docs/specifications/URI-extension.txt diff --git a/docs/dirnodes.txt b/docs/specifications/dirnodes.txt similarity index 100% rename from docs/dirnodes.txt rename to docs/specifications/dirnodes.txt diff --git a/docs/file-encoding.txt b/docs/specifications/file-encoding.txt similarity index 100% rename from docs/file-encoding.txt rename to docs/specifications/file-encoding.txt diff --git a/docs/file-encoding1.svg b/docs/specifications/file-encoding1.svg similarity index 100% rename from docs/file-encoding1.svg rename to docs/specifications/file-encoding1.svg diff --git a/docs/file-encoding2.svg b/docs/specifications/file-encoding2.svg similarity index 100% rename from docs/file-encoding2.svg rename to docs/specifications/file-encoding2.svg diff --git a/docs/file-encoding3.svg b/docs/specifications/file-encoding3.svg similarity index 100% rename from docs/file-encoding3.svg rename to docs/specifications/file-encoding3.svg diff --git a/docs/file-encoding4.svg b/docs/specifications/file-encoding4.svg similarity index 100% rename from docs/file-encoding4.svg rename to docs/specifications/file-encoding4.svg diff --git a/docs/file-encoding5.svg b/docs/specifications/file-encoding5.svg similarity index 100% rename from docs/file-encoding5.svg rename to docs/specifications/file-encoding5.svg diff --git a/docs/file-encoding6.svg b/docs/specifications/file-encoding6.svg similarity index 100% rename from docs/file-encoding6.svg rename to docs/specifications/file-encoding6.svg diff --git a/docs/mut.svg b/docs/specifications/mut.svg similarity index 100% rename from docs/mut.svg rename to docs/specifications/mut.svg diff --git a/docs/mutable.txt b/docs/specifications/mutable.txt similarity index 100% rename from docs/mutable.txt rename to docs/specifications/mutable.txt diff --git a/docs/uri.txt b/docs/specifications/uri.txt similarity index 100% rename from docs/uri.txt rename to docs/specifications/uri.txt -- 2.45.2