diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-10 22:43:10 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-10 22:43:10 +0000 |
commit | 57da9609d3b24014813ec39af844c70c466bcd9c (patch) | |
tree | 7f319baa877a3aa5b56b44f40de04cf0325a8e1e /protocols | |
parent | 06b58933ad0f46995c2a676671f92a335dfdfe05 (diff) |
Skype module packaging.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/skype/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/skype/Makefile b/protocols/skype/Makefile index bebfe86c..1a07cd80 100644 --- a/protocols/skype/Makefile +++ b/protocols/skype/Makefile @@ -1,6 +1,6 @@ -include ../../Makefile.settings ifdef SRCDIR -SRCDIR := $(SRCDIR)protocls/skype/ +SRCDIR := $(SRCDIR)protocols/skype/ endif VERSION = 0.9.0 @@ -22,9 +22,9 @@ endif all: $(LIBS) $(MANPAGES) -skype.$(SHARED_EXT): skype.c config.mak +skype.$(SHARED_EXT): $(SRCDIR)skype.c config.mak ifeq ($(BITLBEE),yes) - $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) skype.c $(LDFLAGS) + $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) $(SRCDIR)skype.c $(LDFLAGS) endif install: all @@ -46,7 +46,7 @@ ifeq ($(SKYPE4PY),yes) $(INSTALL) -m644 skyped.cnf $(DESTDIR)$(sysconfdir) endif -client: client.c +client: $(SRCDIR)client.c autogen: configure.ac cp $(shell ls /usr/share/automake-*/install-sh | tail -n1) ./ @@ -56,7 +56,7 @@ clean: rm -f $(LIBS) $(MANPAGES) distclean: clean - rm -f config.log config.mak config.status + rm -f config.log config.mak config.status skyped.1 autoclean: distclean rm -rf aclocal.m4 autom4te.cache configure install-sh @@ -102,6 +102,6 @@ Changelog: .git/refs/heads/master AUTHORS: .git/refs/heads/master git shortlog -s -n |sed 's/.*\t//'> AUTHORS -%.1: %.txt asciidoc.conf - a2x --asciidoc-opts="-f asciidoc.conf" \ +%.1: $(SRCDIR)%.txt $(SRCDIR)asciidoc.conf + a2x --asciidoc-opts="-f $(SRCDIR)asciidoc.conf" \ -a bs_version=$(VERSION) -a bs_date=$(DATE) -f manpage $< |