aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/skype/Makefile
blob: 95a134c6fdd9008e66606634ea74709cc6c755b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-include ../../Makefile.settings
ifdef _SRCDIR_
_SRCDIR_ := $(_SRCDIR_)protocols/skype/
endif

DATE := $(shell date +%Y-%m-%d)
INSTALL = install

all:
clean:

# take this from the kernel
check:
	perl checkpatch.pl --show-types --ignore LONG_LINE,CAMELCASE --no-tree --file skype.c

test: all
	./test.py

install-doc:
	$(INSTALL) -d $(DESTDIR)$(MANDIR)/man1
	$(INSTALL) -m644 $(_SRCDIR_)skyped.1 $(DESTDIR)$(MANDIR)/man1

uninstall-doc:
	rm -f $(DESTDIR)$(MANDIR)/man1/skyped.1*

%.1: $(_SRCDIR_)%.txt $(_SRCDIR_)asciidoc.conf
	a2x --asciidoc-opts="-f $(_SRCDIR_)asciidoc.conf" -a bee_date=$(DATE) -f manpage $<