aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-01-12 02:41:44 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2008-01-12 02:41:44 +0100
commita3262d1e02907d5f53b2654cd121ce4535a7f412 (patch)
tree7e5044f9880d1ecaacad8b5b54f1b28035f26ba9
parent5245e9d785fced3ef1232e47f1ee5a7fbef396b4 (diff)
install the default skyped config
-rw-r--r--skype/Makefile3
-rw-r--r--skype/config.mak.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/skype/Makefile b/skype/Makefile
index 721d1209..a117dd71 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -8,8 +8,11 @@ skype.so: skype.c config.mak
install: skype.so skyped.py
$(INSTALL) -d $(DESTDIR)$(plugindir)
$(INSTALL) -d $(DESTDIR)$(bindir)
+ $(INSTALL) -d $(DESTDIR)$(sysconfdir)
$(INSTALL) skype.so $(DESTDIR)$(plugindir)
$(INSTALL) skyped.py $(DESTDIR)$(bindir)/skyped
+ sed -i 's|/etc|$(sysconfdir)|' $(DESTDIR)$(bindir)/skyped
+ $(INSTALL) -m644 skyped.conf.dist $(DESTDIR)$(sysconfdir)/skyped.conf
client: client.c
diff --git a/skype/config.mak.in b/skype/config.mak.in
index 28c50513..4dd6ac47 100644
--- a/skype/config.mak.in
+++ b/skype/config.mak.in
@@ -2,6 +2,7 @@ CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
INSTALL = @INSTALL@
prefix = @prefix@
+sysconfdir = @sysconfdir@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@