]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - Makefile
Из-за переноса домена на reg.ru, DNSSEC больше нет
[cypherpunks-www.git] / Makefile
index b2696376ca86d1423e45c1f9c48f5db87598da3a..57913ac939a800d0522912457fda331996eb93d4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,20 +2,22 @@ include private.mk
 
 .PHONY: static
 
+all: clean html static
+
 clean:
        rm -rf out.html
 
 html:
-       makeinfo --html -o out.html index.texi
+       makeinfo --html --css-include=style.css -o out.html index.texi
 
 static:
        cd static ; tar cf - . | tar xfC - ../out.html
 
-all: clean html static
+update: update-remote update-hosting
 
 update-remote:
-       rsync -av --progress --delete out.html/ gw.stargrave.org:cypherpunks
+       rsync -rv --progress --delete out.html/ lighttpd@gw.stargrave.org:www.cypherpunks.ru
 
 update-hosting:
        echo "mirror --delete --reverse out.html cypherpunks.ru/docs" | \
-               lftp -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)
+               lftp -d -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)