aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-11-12 18:47:46 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2008-11-12 18:47:46 +0100
commitc1bf7c5f9041f99934d1932fdd62457b88d4ac36 (patch)
treec7400d8012a40e08f3e26b8cc8f83f8b11fb979d
parent7199b745fc49ae5a08bdb880b7631f99191e2c6b (diff)
handle the case in make autogen when automake is not under /usr/share
-rw-r--r--skype/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/skype/Makefile b/skype/Makefile
index d7b4b417..46963651 100644
--- a/skype/Makefile
+++ b/skype/Makefile
@@ -4,7 +4,7 @@ VERSION = 0.6.3
# latest stable
BITLBEE_VERSION = 1.2.3
-AMVERSION = $(shell automake --version|sed 's/.* //;s/\([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/;q')
+AMPATH = $(shell grep automake- $(shell which automake)|sed "s|.*'\(.*\)';|\1|")
ifeq ($(BITLBEE),yes)
all: skype.$(SHARED_EXT)
@@ -35,7 +35,7 @@ endif
client: client.c
autogen: configure.ac
- cp /usr/share/automake-$(AMVERSION)/install-sh ./
+ cp $(AMPATH)/install-sh ./
autoconf
clean: