diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-11-12 18:47:46 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2008-11-12 18:47:46 +0100 |
commit | c1bf7c5f9041f99934d1932fdd62457b88d4ac36 (patch) | |
tree | c7400d8012a40e08f3e26b8cc8f83f8b11fb979d | |
parent | 7199b745fc49ae5a08bdb880b7631f99191e2c6b (diff) |
handle the case in make autogen when automake is not under /usr/share
-rw-r--r-- | skype/Makefile | 4 |
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: |