aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVMiklos <vmiklos@frugalware.org>2007-08-21 20:50:09 +0200
committerVMiklos <vmiklos@frugalware.org>2007-08-21 20:50:09 +0200
commitbbf1050bd9dc9b92372750aba8dd28d464d247f9 (patch)
tree0c021391ae42275be5ccfc12e1086a7d0570c511
parent68312b81a0adc34e5d868b447393af0ea1fb3ffe (diff)
added an install target
-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