source: protocols/skype/Makefile @ 273949d

Last change on this file since 273949d was 650d2b4, checked in by Miklos Vajna <vmiklos@…>, at 2013-01-13T11:51:02Z

skype: convert msg test to a mock-based one

  • Property mode set to 100644
File size: 772 bytes
Line 
1-include ../../Makefile.settings
2ifdef _SRCDIR_
3_SRCDIR_ := $(_SRCDIR_)protocols/skype/
4endif
5
6DATE := $(shell date +%Y-%m-%d)
7INSTALL = install
8ASCIIDOC = yes
9
10ifeq ($(ASCIIDOC),yes)
11MANPAGES = skyped.1
12else
13MANPAGES =
14endif
15
16all: $(MANPAGES)
17
18clean:
19        rm -f $(MANPAGES)
20
21# take this from the kernel
22check:
23        perl checkpatch.pl --show-types --ignore LONG_LINE,CAMELCASE --no-tree --file skype.c
24
25test: all
26        ./test.py
27
28doc: $(MANPAGES)
29
30install-doc: doc
31ifeq ($(ASCIIDOC),yes)
32        $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
33        $(INSTALL) -m644 $(MANPAGES) $(DESTDIR)$(MANDIR)/man1
34endif
35
36uninstall-doc:
37        rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1*
38
39%.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf
40        a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" -a bee_date=$(DATE) -f manpage -D . $<
Note: See TracBrowser for help on using the repository browser.