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



Reply via email to