=================================================================== RCS file: /home/cvs/OpenXM/src/ox_pari/Makefile.am,v retrieving revision 1.3 retrieving revision 1.5 diff -u -p -r1.3 -r1.5 --- OpenXM/src/ox_pari/Makefile.am 2016/09/23 02:54:48 1.3 +++ OpenXM/src/ox_pari/Makefile.am 2016/09/26 14:50:40 1.5 @@ -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.4 2016/09/26 13:05:17 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,7 @@ ox_paridir = ${prefix}/bin ox_pari_PROGRAMS = ox_pari ox_pari_SOURCES = ox_pari.c convert.c pari_ftab.c +install-exec-hook: + -@${MKDIR_P} ${libdir}/asir + -@rm -f ${libdir}/asir/ox_pari + (cd ${libdir}/asir && ${LN_S} ${bindir}/ox_pari${EXEEXT} ox_pari${EXEEXT} )