diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-01-29 00:29:00 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2008-01-29 00:29:00 +0100 |
commit | 3fd8b71c09e8100374358dddf2f051d7b1a58093 (patch) | |
tree | f167a1d0d5cc779ccaa993743e0690eaa345ed79 | |
parent | 6b266f603ae99e0f85e72bfcb75d2ea864067762 (diff) |
it seems some distro does not have an automake symlink in /usr/share
-rw-r--r-- | skype/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/skype/Makefile b/skype/Makefile index 82472047..192e3d5b 100644 --- a/skype/Makefile +++ b/skype/Makefile @@ -2,6 +2,8 @@ VERSION = 0.3.1 +AMVERSION = $(shell automake --version|sed 's/.*) //;s/\([0-9]\+\.[0-9]\+\)\.[0-9]\+/\1/;q') + skype.so: skype.c config.mak $(CC) $(CFLAGS) -shared -o skype.so skype.c $(LDFLAGS) @@ -18,7 +20,7 @@ install: skype.so skyped.py client: client.c prepare: configure.ac - cp /usr/share/automake/install-sh ./ + cp /usr/share/automake-$(AMVERSION)/install-sh ./ cp /usr/share/aclocal/pkg.m4 aclocal.m4 autoconf |