source:
protocols/skype/Makefile
@
955aad8
Last change on this file since 955aad8 was 757e1e0, checked in by , at 2013-01-01T16:19:09Z | |
---|---|
|
|
File size: 780 bytes |
Rev | Line | |
---|---|---|
[5155570] | 1 | -include ../../Makefile.settings |
[7fa5c19] | 2 | ifdef _SRCDIR_ |
3 | _SRCDIR_ := $(_SRCDIR_)protocols/skype/ | |
[5155570] | 4 | endif |
[f06e3ac] | 5 | |
[398eb78] | 6 | DATE := $(shell date +%Y-%m-%d) |
[e46db53] | 7 | INSTALL = install |
8 | ASCIIDOC = yes | |
[05c1bed] | 9 | |
[cc7a153] | 10 | ifeq ($(ASCIIDOC),yes) |
11 | MANPAGES = skyped.1 | |
12 | else | |
13 | MANPAGES = | |
14 | endif | |
15 | ||
[757e1e0] | 16 | all: $(MANPAGES) |
[bff265c] | 17 | |
[f06e3ac] | 18 | clean: |
[757e1e0] | 19 | rm -f $(MANPAGES) |
[bff265c] | 20 | |
[16304ab] | 21 | # take this from the kernel |
22 | check: | |
[e1d6b38] | 23 | perl checkpatch.pl --show-types --ignore LONG_LINE,CAMELCASE --no-tree --file skype.c |
[16304ab] | 24 | |
[7279554] | 25 | test: all |
26 | $(MAKE) -C t/ all | |
27 | ||
[e46db53] | 28 | doc: $(MANPAGES) |
[5155570] | 29 | |
[e46db53] | 30 | install-doc: doc |
31 | ifeq ($(ASCIIDOC),yes) | |
32 | $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 | |
33 | $(INSTALL) -m644 $(MANPAGES) $(DESTDIR)$(MANDIR)/man1 | |
34 | endif | |
[5155570] | 35 | |
36 | uninstall-doc: | |
37 | rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1* | |
[d1c9e35] | 38 | |
[7fa5c19] | 39 | %.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf |
[757e1e0] | 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.