=================================================================== RCS file: /home/cvs/OpenXM/src/ox_pari/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- OpenXM/src/ox_pari/Makefile.am 2016/09/23 02:54:48 1.3 +++ OpenXM/src/ox_pari/Makefile.am 2016/09/26 13:05:17 1.4 @@ -1,7 +1,8 @@ -# $OpenXM: OpenXM/src/ox_pari/Makefile.am,v 1.2 2016/09/22 17:12:51 ohara Exp $ +## $OpenXM: OpenXM/src/ox_pari/Makefile.am,v 1.3 2016/09/23 02:54:48 ohara Exp $ AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 DISTCLEANFILES = .configure_done +LN_S = @LN_S@ LIBS = @LIBS@ -L${libdir} @OXLIBS@ -lm DEFS = @DEFS@ AM_CPPFLAGS = -g -Wall -finline-functions -I${prefix}/include @@ -12,3 +13,5 @@ ox_paridir = ${prefix}/bin ox_pari_PROGRAMS = ox_pari ox_pari_SOURCES = ox_pari.c convert.c pari_ftab.c +install-exec-hook: + (cd ${libdir} && ${LN_S} -f ${bindir}/ox_pari${EXEEXT} ox_pari${EXEEXT} )