diff --git a/makefile b/makefile index a155fa3..d5cf6b3 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Produce Various Output Formats From A Restructured Text Source Document -# $Id: makefile,v 1.103 2014/08/23 00:36:10 tundra Exp $ +# $Id: makefile,v 1.104 2015/03/24 18:46:50 tundra Exp $ ##### @@ -13,6 +13,8 @@ 1: ${PROJECT}.1 +doc: ${PROJECT}.doc + dvi: ${PROJECT}.dvi html: ${PROJECT}.html @@ -51,6 +53,7 @@ # on any platform, we have to check for this every time we run the # 'make'. This is irritating. +2DOC = soffice --headless --convert-to doc 2HTML = $(shell which rst2html.py rst2html | tr '\012' ' ' | awk '{print $$1}') --no-compact-lists 2LATEX = $(shell which rst2latex.py rst2latex | tr '\012' ' ' | awk '{print $$1}') --stylesheet=parskip --latex-preamble="\usepackage{fullpage}" 2ODT = $(shell which rst2odt.py rst2odt | tr '\012' ' ' | awk '{print $$1}') @@ -64,7 +67,7 @@ # File Types CLEAN = .aux .log .out \~ -DOCFILES = .1 .dvi .html .latex .odt .pdf .ps .txt +DOCFILES = .1 .doc .dvi .html .latex .odt .pdf .ps .txt # Conversion Rules @@ -98,7 +101,7 @@ # Packaging ##### -all: 1 dvi html latex odt pdf ps +all: 1 doc dvi html latex odt pdf ps pkg: all clean tar -czvf ${PROJECT}-docs.tar.gz ${PROJECT}.*