aboutsummaryrefslogtreecommitdiffstats
path: root/skype/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'skype/Makefile')
-rw-r--r--skype/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/skype/Makefile b/skype/Makefile
index 30094892..04e532e5 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -12,12 +12,20 @@ ifeq ($(AMPATH),)
AMPATH = $(shell find /usr/share/ -maxdepth 1 -name 'automake-*'|tail -n 1)
endif
+ifeq ($(ASCIIDOC),yes)
+MANPAGES = skyped.1
+else
+MANPAGES =
+endif
+
ifeq ($(BITLBEE),yes)
-all: skype.$(SHARED_EXT) skyped.1
+LIBS = skype.$(SHARED_EXT)
else
-all: skyped.1
+LIBS =
endif
+all: $(LIBS) $(MANPAGES)
+
skype.$(SHARED_EXT): skype.c config.mak
ifeq ($(BITLBEE),yes)
$(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) skype.c $(LDFLAGS)