From 51555706adf8a33b1e7f30b9d8d9c381c79b4123 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 3 Jul 2011 16:15:13 +0200 Subject: Install skyped documentation if skype is enabled --- protocols/skype/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/skype/Makefile b/protocols/skype/Makefile index 4f7a036d..bebfe86c 100644 --- a/protocols/skype/Makefile +++ b/protocols/skype/Makefile @@ -1,4 +1,7 @@ --include config.mak +-include ../../Makefile.settings +ifdef SRCDIR +SRCDIR := $(SRCDIR)protocls/skype/ +endif VERSION = 0.9.0 DATE := $(shell date +%Y-%m-%d) @@ -79,7 +82,14 @@ release: gpg --comment "See http://vmiklos.hu/gpg/ for info" \ -ba bitlbee-skype-$(VERSION).tar.gz -doc: HEADER.html Changelog AUTHORS +doc: skyped.1 + +install-doc: + mkdir -p $(DESTDIR)$(MANDIR)/man1/ + install -m 0644 $(SRCDIR)skyped.1 $(DESTDIR)$(MANDIR)/man1/ + +uninstall-doc: + rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1* HEADER.html: README Makefile asciidoc -a toc -a numbered -a sectids -o HEADER.html -a icons -a data-uri --attribute iconsdir=./images/icons README -- cgit v1.2.3