]> Cypherpunks.ru repositories - nncp.git/blobdiff - doc/Makefile
Documentation draft
[nncp.git] / doc / Makefile
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..90f5a37
--- /dev/null
@@ -0,0 +1,20 @@
+all: nncp.info nncp.html
+
+MAKEINFO ?= makeinfo
+
+nncp.info: *.texi
+       $(MAKEINFO) -o nncp.info index.texi
+
+CSS != cat style.css
+
+nncp.html: *.texi
+       rm -f nncp.html/*.html
+       $(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 nncp.html index.texi