source: protocols/skype/Makefile @ c42d991

Last change on this file since c42d991 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
RevLine 
[5155570]1-include ../../Makefile.settings
[7fa5c19]2ifdef _SRCDIR_
3_SRCDIR_ := $(_SRCDIR_)protocols/skype/
[5155570]4endif
[f06e3ac]5
[398eb78]6DATE := $(shell date +%Y-%m-%d)
[e46db53]7INSTALL = install
[05c1bed]8
[09bd226]9all:
[f06e3ac]10clean:
[bff265c]11
[16304ab]12# take this from the kernel
13check:
[e1d6b38]14        perl checkpatch.pl --show-types --ignore LONG_LINE,CAMELCASE --no-tree --file skype.c
[16304ab]15
[7279554]16test: all
[650d2b4]17        ./test.py
[7279554]18
[08a9323]19install-doc:
[e46db53]20        $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
[c42d991]21        $(INSTALL) -m644 $(_SRCDIR_)skyped.1 $(DESTDIR)$(MANDIR)/man1
[5155570]22
23uninstall-doc:
24        rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1*
[d1c9e35]25
[7fa5c19]26%.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf
[09bd226]27        a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" -a bee_date=$(DATE) -f manpage $<
Note: See TracBrowser for help on using the repository browser.