summary refs log tree commit diff
path: root/doc/rfc/Makefile
blob: 87462a6cafb11b490d949452ed6f24300f4d90a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PREFIX ?= ~/.local

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

install: tags rfc.vim
	install -d ${PREFIX}/share/rfc ${PREFIX}/share/nvim/site/plugin
	ln -f tags *.txt.gz ${PREFIX}/share/rfc
	install -m 644 rfc.vim ${PREFIX}/share/nvim/site/plugin

uninstall:
	rm -fr ${PREFIX}/share/rfc ${PREFIX}/share/nvim/site/plugin/rfc.vim
09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe