]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - Makefile
Тривиальная коррекция стиля
[cypherpunks-www.git] / Makefile
index 21ff7c0c4daa6ee5989ce7760704f45413aa9654..5551caab2132070a01435bda586c7d6fdc9eae0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,25 +1,12 @@
-include private.mk
-
-.PHONY: static
-
-all: clean html static
-
-clean:
-       rm -rf out.html
+CSS != cat style.css
 
 html:
-       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 -rv --progress --delete out.html/ lighttpd@gw.stargrave.org:www.cypherpunks.ru
-
-update-hosting:
-       echo "mirror --delete --reverse out.html cypherpunks.ru/docs" | \
-               lftp -d -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)
-       echo "mirror --delete --reverse out.html/govpn govpn.info/docs" | \
-               lftp -d -u $(FTP_MIRROR_LOGIN),$(FTP_MIRROR_PASSWORD) $(FTP_MIRROR_HOST)
+       makeinfo --html \
+               --set-customization-variable CSS_LINES='$(CSS)' \
+               --set-customization-variable SHOW_TITLE=0 \
+               --set-customization-variable USE_ACCESSKEY=0 \
+               --set-customization-variable DATE_IN_HEADER=1 \
+               --set-customization-variable TOP_NODE_UP_URL=index.html \
+               --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
+               --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
+               -o cypherpunks.html index.texi