Last change
on this file since 53c7799 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 |
---|
2 | ifdef _SRCDIR_ |
---|
3 | _SRCDIR_ := $(_SRCDIR_)protocols/skype/ |
---|
4 | endif |
---|
5 | |
---|
6 | DATE := $(shell date +%Y-%m-%d) |
---|
7 | INSTALL = install |
---|
8 | |
---|
9 | all: |
---|
10 | clean: |
---|
11 | |
---|
12 | # take this from the kernel |
---|
13 | check: |
---|
14 | perl checkpatch.pl --show-types --ignore LONG_LINE,CAMELCASE --no-tree --file skype.c |
---|
15 | |
---|
16 | test: all |
---|
17 | ./test.py |
---|
18 | |
---|
19 | install-doc: |
---|
20 | $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 |
---|
21 | $(INSTALL) -m644 $(_SRCDIR_)skyped.1 $(DESTDIR)$(MANDIR)/man1 |
---|
22 | |
---|
23 | uninstall-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.