aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skype/Makefile6
-rw-r--r--skype/config.mak.in1
2 files changed, 6 insertions, 1 deletions
diff --git a/skype/Makefile b/skype/Makefile
index 2cbf41c8..c5e8074f 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -1,8 +1,12 @@
-include config.mak
-skype.so: skype.c
+skype.so: skype.c config.mak
$(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS)
+install: skype.so
+ $(INSTALL) -d $(DESTDIR)$(plugindir)
+ $(INSTALL) skype.so $(DESTDIR)$(plugindir)
+
client: client.c
prepare: configure.ac
diff --git a/skype/config.mak.in b/skype/config.mak.in
index 06dd386a..7a16cbb1 100644
--- a/skype/config.mak.in
+++ b/skype/config.mak.in
@@ -4,3 +4,4 @@ INSTALL = @INSTALL@
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
+plugindir = ${libdir}/bitlbee