summary refs log tree commit diff
path: root/doc/rfc/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-21 16:38:01 -0500
committerJune McEnroe <june@causal.agency>2020-12-21 16:38:01 -0500
commitae323e70ab3f7da2f19673988baa1fee3f4a67d5 (patch)
treef6bb5ca1df666742686fe0e1b4f2f5e3ff7445e7 /doc/rfc/Makefile
parentMove wcfix to port/wcwidth (diff)
downloadsrc-ae323e70ab3f7da2f19673988baa1fee3f4a67d5.tar.gz
src-ae323e70ab3f7da2f19673988baa1fee3f4a67d5.zip
Move rfc to doc/rfc
Diffstat (limited to 'doc/rfc/Makefile')
-rw-r--r--doc/rfc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/rfc/Makefile b/doc/rfc/Makefile
new file mode 100644
index 00000000..a629782d
--- /dev/null
+++ b/doc/rfc/Makefile
@@ -0,0 +1,11 @@
+MODULE = ftp.rfc-editor.org::rfcs-text-only
+
+tags: rfctags.pl rfc-index.txt.gz
+	perl rfctags.pl | sort -f > $@
+
+rfc-index.txt.gz:
+	rsync -ptz ${MODULE}/rfc-index.txt ${MODULE}/'rfc[1-9]*.txt' .
+	gzip -9f *.txt
+
+clean:
+	rm -f tags *.txt *.txt.gz