diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-19 18:11:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-19 18:11:04 +0100 |
commit | 9a7ecadd291459b43ebced490d20590d81cf3cf7 (patch) | |
tree | 64065361a0f31eba611b80ecf5dbe7de4b4284f8 /Makefile | |
parent | misc + partial info chapter: invoking (diff) | |
download | blueshift-9a7ecadd291459b43ebced490d20590d81cf3cf7.tar.gz blueshift-9a7ecadd291459b43ebced490d20590d81cf3cf7.tar.bz2 blueshift-9a7ecadd291459b43ebced490d20590d81cf3cf7.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 27 |
1 files changed, 26 insertions, 1 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 |