On Fri, 2009-01-23 at 17:38 -0800, amrhassan wrote:
Hi, I'm not an autotools expert. I just want to create a package to
distribute my lib into GAC. I signed my library and everything, I created
the Makefiles using the addin from MonoDevelop but I don't know how to get
it to install the lib into GAC instead of PREFIX/lib.
Can someone please help me with that?
The way this is usually done is by building the assembly as a
noinst_DATA target and adding something like:
install-data-local:
$(GACUTIL) /i $(ASSEMBLY) /f || exit 1;
uninstall-local:
$(GACUTIL) /u $(ASSEMBLY_NAME) /f || exit 1;
ASSEMBLY_NAME is the name of your assembly without the .dll extension.
ASSEMBLY includes the .dll.
GACUTIL is setup in configure.in as:
AC_PATH_PROG(GACUTIL, gacutil, no)
if test x$GACUTIL = xno ; then
AC_MSG_ERROR([No gacutil tool found. You need to install either
the mono or .Net SDK.])
fi
AC_SUBST(GACUTIL)
--
Mike Kestner mkest...@gmail.com
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list