diff options
-rw-r--r-- | skype/Makefile | 3 | ||||
-rw-r--r-- | skype/config.mak.in | 1 |
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@ |