aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-09-05 22:03:45 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2008-09-05 22:03:45 +0200
commit93f4dacd9a92d47a618dee182b485298819eb364 (patch)
tree0fe25b6230c7d08295aad3fec49653c7774e98a8
parent038fa18b1c391d0aef97a80be8844fff10cde189 (diff)
install: no longer depend on the plugin if its disabled
-rw-r--r--skype/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/skype/Makefile b/skype/Makefile
index 49784b9c..73f073ab 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -6,12 +6,18 @@ BITLBEE_VERSION = 1.2.2
AMVERSION = $(shell automake --version|sed 's/.* //;s/\([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/;q')
+ifeq ($(BITLBEE),yes)
+all: skype.$(SHARED_EXT)
+else
+all:
+endif
+
skype.$(SHARED_EXT): skype.c config.mak
ifeq ($(BITLBEE),yes)
$(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) skype.c $(LDFLAGS)
endif
-install: skype.$(SHARED_EXT) skyped.py
+install: all
ifeq ($(BITLBEE),yes)
$(INSTALL) -d $(DESTDIR)$(plugindir)
$(INSTALL) skype.$(SHARED_EXT) $(DESTDIR)$(plugindir)