From 9a7ecadd291459b43ebced490d20590d81cf3cf7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 19 Feb 2014 18:11:04 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 27 ++++++++++++++++++++++++++- info/blueshift.texinfo | 4 ++-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1684706..b2cb455 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2