]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - Makefile
Хороший список с вредоносностью несвободных программ
[cypherpunks-www.git] / Makefile
index 1c1b063670a2d956802d789f8720c0f3fc6ed40c..57913ac939a800d0522912457fda331996eb93d4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,14 +8,16 @@ 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
 
+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)