diff options
-rw-r--r-- | Makefile | 27 | ||||
-rw-r--r-- | info/blueshift.texinfo | 4 |
2 files changed, 28 insertions, 3 deletions
@@ -39,11 +39,20 @@ default: command info all: command doc .PHONY: doc -doc: info +doc: info pdf dvi ps .PHONY: info info: blueshift.info +.PHONY: pdf +pdf: blueshift.pdf + +.PHONY: dvi +dvi: blueshift.dvi + +.PHONY: ps +ps: blueshift.ps + .PHONY: command command: bin/blueshift_randr.so bin/blueshift @@ -84,6 +93,22 @@ obj/blueshift_randr.c: src/blueshift_randr.pyx %.info: info/%.texinfo makeinfo "$<" +%.pdf: info/%.texinfo + @mkdir -p obj + cd obj ; yes X | texi2pdf ../$< + mv obj/$@ $@ + +%.dvi: info/%.texinfo + @mkdir -p obj + cd obj ; yes X | $(TEXI2DVI) ../$< + mv obj/$@ $@ + +%.ps: info/%.texinfo + @mkdir -p obj + cd obj ; yes X | texi2pdf --ps ../$< + mv obj/$@ $@ + + .PHONY: install install: install-base install-info install-examples diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index e389c5c..9672e6e 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -138,12 +138,12 @@ Prints help information. @itemx --copyright Prints copyright information. -@itemx -W +@item -W @itemx --warranty Prints non-warranty information, included in the copyright information. -@itemx -v +@item -v @itemx --version Prints the name of the program and the installed version of the program |