]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/Makefile
[DOC] More compact CSS
[govpn.git] / doc / Makefile
index ec5af2ac7212528ccb259acb9f36f228c0727773..f478ade0c7b792d07bbff844d6f0ebf7b54d182c 100644 (file)
@@ -2,12 +2,21 @@ all: govpn.info govpn.html
 
 MAKEINFO ?= makeinfo
 
-govpn.info: *.texi handshake.utxt
-       $(MAKEINFO) govpn.texi
-
 handshake.utxt: handshake.txt
        plantuml -tutxt handshake.txt
 
+govpn.info: *.texi handshake.utxt
+       $(MAKEINFO) -o govpn.info index.texi
+
+CSS != cat style.css
+
 govpn.html: *.texi handshake.utxt
        rm -f govpn.html/*.html
-       $(MAKEINFO) --html -o govpn.html govpn.texi
+       $(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 \
+               -o govpn.html index.texi
+       cp -r .well-known govpn.html/