diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-09-05 21:54:45 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2008-09-05 21:54:45 +0200 |
commit | 752a591bea8d2d3b4e9529a8220f46e54389cc0c (patch) | |
tree | ff2d6bf9a1bf80d60e1bbbd66a9252f95b2d79be /skype/Makefile | |
parent | ef399c287aa73adc0c9bbd587127b1fafd071179 (diff) |
make bitlbee dependency optional as well
this way it's possible to build bitlbee-skype on a client where only
skyped will be running, so messing with the plugin makes no sense
Diffstat (limited to 'skype/Makefile')
-rw-r--r-- | skype/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/skype/Makefile b/skype/Makefile index fd298f20..3a23c488 100644 --- a/skype/Makefile +++ b/skype/Makefile @@ -7,11 +7,15 @@ BITLBEE_VERSION = 1.2.2 AMVERSION = $(shell automake --version|sed 's/.* //;s/\([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/;q') skype.$(SHARED_EXT): skype.c config.mak +ifeq ($(BITLBEE),yes) $(CC) $(CFLAGS) $(SHARED_FLAGS) -o skype.$(SHARED_EXT) skype.c $(LDFLAGS) +endif install: skype.$(SHARED_EXT) skyped.py +ifeq ($(BITLBEE),yes) $(INSTALL) -d $(DESTDIR)$(plugindir) $(INSTALL) skype.$(SHARED_EXT) $(DESTDIR)$(plugindir) +endif ifeq ($(SKYPED),yes) $(INSTALL) -d $(DESTDIR)$(bindir) $(INSTALL) -d $(DESTDIR)$(sysconfdir) @@ -26,7 +30,6 @@ client: client.c autogen: configure.ac cp /usr/share/automake-$(AMVERSION)/install-sh ./ - cp /usr/share/aclocal/pkg.m4 aclocal.m4 autoconf clean: |