diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | protocols/skype/Makefile | 14 |
2 files changed, 21 insertions, 2 deletions
@@ -28,6 +28,9 @@ subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd $(MAKE) -C doc +ifdef SKYPE_PI + $(MAKE) -C protocols/skype doc +endif uninstall: uninstall-bin uninstall-doc @echo -e '\nmake uninstall does not remove files in '$(DESTDIR)$(ETCDIR)', you can use make uninstall-etc to do that.\n' @@ -70,9 +73,15 @@ lcov: check install-doc: $(MAKE) -C doc install +ifdef SKYPE_PI + $(MAKE) -C protocols/skype install-doc +endif uninstall-doc: $(MAKE) -C doc uninstall +ifdef SKYPE_PI + $(MAKE) -C protocols/skype uninstall-doc +endif install-bin: mkdir -p $(DESTDIR)$(BINDIR) 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 |