]> Cypherpunks.ru repositories - cypherpunks-www.git/blob - Makefile
Удобно иметь all цель по-умолчанию
[cypherpunks-www.git] / Makefile
1 include private.mk
2
3 .PHONY: static
4
5 all: clean html static
6
7 clean:
8         rm -rf out.html
9
10 html:
11         makeinfo --html -o out.html index.texi
12
13 static:
14         cd static ; tar cf - . | tar xfC - ../out.html
15
16 update-remote:
17         rsync -av --progress --delete out.html/ gw.stargrave.org:cypherpunks
18
19 update-hosting:
20         echo "mirror --delete --reverse out.html cypherpunks.ru/docs" | \
21                 lftp -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)