source: protocols/skype/Makefile @ 80c2f3c

Last change on this file since 80c2f3c was c42d991, checked in by dequis <dx@…>, at 2015-05-29T22:17:50Z

skyped: add _SRCDIR_ to makefile, test build in travis

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