]> Cypherpunks.ru repositories - govpn.git/blobdiff - doc/Makefile
Fix 404 (dir) link
[govpn.git] / doc / Makefile
index ec5af2ac7212528ccb259acb9f36f228c0727773..771850b47ad87b949bc72aef3623f139f1bf2844 100644 (file)
@@ -2,12 +2,18 @@ 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
+
 govpn.html: *.texi handshake.utxt
        rm -f govpn.html/*.html
-       $(MAKEINFO) --html -o govpn.html govpn.texi
+       $(MAKEINFO) --html \
+               --css-include=style.css \
+               --set-customization-variable SHOW_TITLE=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/