diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-20 23:15:54 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-20 23:15:54 +0100 |
commit | cfc6d4fe01f55e563637687b2b0fbc3483a25186 (patch) | |
tree | 1c2e31d1e58bc61af899ed46e1a118299c8672b2 | |
parent | update deps (diff) | |
download | blueshift-cfc6d4fe01f55e563637687b2b0fbc3483a25186.tar.gz blueshift-cfc6d4fe01f55e563637687b2b0fbc3483a25186.tar.bz2 blueshift-cfc6d4fe01f55e563637687b2b0fbc3483a25186.tar.xz |
add rules to install pdf, ps and dvi manuals
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -114,7 +114,7 @@ obj/blueshift_randr.c: src/blueshift_randr.pyx install: install-base install-info install-examples .PHONY: install -install: install-base install-doc +install-all: install-base install-doc .PHONY: install-base install-base: install-command install-license @@ -134,7 +134,7 @@ install-license: install -m644 COPYING LICENSE -- "$(DESTDIR)$(LICENSEDIR)/$(PKGNAME)" .PHONY: install-doc -install-doc: install-info install-examples +install-doc: install-info install-pdf install-ps install-dvi install-examples .PHONY: install-examples install-examples: $(foreach E,$(EXAMPLES),examples/$(E)) @@ -146,6 +146,21 @@ install-info: blueshift.info install -dm755 -- "$(DESTDIR)$(INFODIR)" install -m644 $< -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info" +.PHONY: install-pdf +install-pdf: blueshift.pdf + install -dm755 -- "$(DESTDIR)$(DOCDIR)" + install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf" + +.PHONY: install-ps +install-ps: blueshift.ps + install -dm755 -- "$(DESTDIR)$(DOCDIR)" + install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps" + +.PHONY: install-dvi +install-dvi: blueshift.dvi + install -dm755 -- "$(DESTDIR)$(DOCDIR)" + install -m644 $< -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi" + .PHONY: uninstall uninstall: @@ -159,6 +174,9 @@ uninstall: -rm -- $(foreach E,$(EXAMPLES),"$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples/$(E)") -rmdir -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME)/examples" -rm -- "$(DESTDIR)$(INFODIR)/$(PKGNAME).info" + -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).pdf" + -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).ps" + -rm -- "$(DESTDIR)$(DOCDIR)/$(PKGNAME).dvi" .PHONY: all |