aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)