diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-08-28 20:53:53 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-08-28 20:53:53 +0200 |
commit | 22152c59c598cedd8ab5333e60f9e5848d4b26d6 (patch) | |
tree | 990ae5dffd8fd36ffd89876585dfe86ee9718b9b | |
parent | ab4c1315d78782597afadccb73f9ec3fdec24529 (diff) | |
download | gana-22152c59c598cedd8ab5333e60f9e5848d4b26d6.tar.gz gana-22152c59c598cedd8ab5333e60f9e5848d4b26d6.zip |
add dot alt rst
-rw-r--r-- | dot-alt/Makefile | 15 | ||||
-rw-r--r-- | dot-alt/registry.rec | 2 | ||||
-rw-r--r-- | dot-alt/rst.header | 4 | ||||
-rw-r--r-- | dot-alt/rst.template | 10 |
4 files changed, 29 insertions, 2 deletions
diff --git a/dot-alt/Makefile b/dot-alt/Makefile index e18d279..8e8aecb 100644 --- a/dot-alt/Makefile +++ b/dot-alt/Makefile | |||
@@ -1,6 +1,19 @@ | |||
1 | all: check | 1 | FILES=dot_alt.rst |
2 | all: check $(FILES) | ||
2 | 3 | ||
3 | check: | 4 | check: |
4 | recfix --check registry.rec | 5 | recfix --check registry.rec |
5 | 6 | ||
7 | distclean: | ||
8 | |||
9 | rm -f *.tmp | ||
10 | clean: | ||
11 | rm -f $(FILES) *.tmp | ||
12 | |||
13 | dot_alt.rst.tmp: registry.rec rst.template | ||
14 | ../format.sh rst.template < registry.rec > $@ | ||
15 | |||
16 | dot_alt.rst: rst.header dot_alt.rst.tmp | ||
17 | cat rst.header dot_alt.rst.tmp > $@ | ||
18 | |||
6 | .PHONY: check | 19 | .PHONY: check |
diff --git a/dot-alt/registry.rec b/dot-alt/registry.rec index cebf902..f1f97fa 100644 --- a/dot-alt/registry.rec +++ b/dot-alt/registry.rec | |||
@@ -19,7 +19,7 @@ Label: gns | |||
19 | UnicodeLabel: gns | 19 | UnicodeLabel: gns |
20 | Contact: Martin Schanzenbach <schanzen@gnunet.org> | 20 | Contact: Martin Schanzenbach <schanzen@gnunet.org> |
21 | References: RFC XXXX | 21 | References: RFC XXXX |
22 | Description: The GNU Name System | 22 | Description: The .alt subdomain for GNS |
23 | 23 | ||
24 | # Unreserved unicode example | 24 | # Unreserved unicode example |
25 | Label: xn--fsq | 25 | Label: xn--fsq |
diff --git a/dot-alt/rst.header b/dot-alt/rst.header new file mode 100644 index 0000000..201d261 --- /dev/null +++ b/dot-alt/rst.header | |||
@@ -0,0 +1,4 @@ | |||
1 | Registry for .alt subdomains | ||
2 | ---------------------------- | ||
3 | |||
4 | |||
diff --git a/dot-alt/rst.template b/dot-alt/rst.template new file mode 100644 index 0000000..75c0f48 --- /dev/null +++ b/dot-alt/rst.template | |||
@@ -0,0 +1,10 @@ | |||
1 | |||
2 | |||
3 | =================== =========================================================== | ||
4 | Label {{Label}} | ||
5 | ------------------- ----------------------------------------------------------- | ||
6 | Contact {{Contact}} | ||
7 | References {{References}} | ||
8 | Description {{Description}} | ||
9 | =================== =========================================================== | ||
10 | |||