[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: create symlinks during install
From: |
Peter Johansson |
Subject: |
Re: create symlinks during install |
Date: |
Mon, 18 May 2009 18:13:42 -0400 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Hi Jon,
Jon Dufresne wrote:
I am currently writing a program that uses automake and I would like
to create symlinks when the program is installed. Much like the way
busybox or git creates many symlinks that point to one binary, I would
like to do the same.
Is there a correct way to do this? I tried the following:
install-exec-hook:
$(LN_S) -f foo $(bindir)/bar
$(LN_S) -f foo $(bindir)/baz
Please see the Automake manual for a good example
http://www.gnu.org/software/automake/manual/automake.html#Extending
Cheers,
--
Peter Johansson
svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer, http://dev.thep.lu.se/yat