source: protocols/skype/Makefile @ 3d31618

Last change on this file since 3d31618 was 09bd226, checked in by dequis <dx@…>, at 2015-05-18T02:23:56Z

Include prebuilt skyped manpage, remove asciidoc dependency

  • Property mode set to 100644
File size: 625 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
19doc: $(MANPAGES)
20
21install-doc: doc
22        $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
23        $(INSTALL) -m644 $(MANPAGES) $(DESTDIR)$(MANDIR)/man1
24
25uninstall-doc:
26        rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1*
27
28%.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf
29        a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" -a bee_date=$(DATE) -f manpage $<
Note: See TracBrowser for help on using the repository browser.