Re: Packing a C# project.

"Isak Savo" <[email protected]> Mon, 30 Jun 2008 12:40:10 +0200
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Sat, Jun 28, 2008 at 1:46 AM, Neil Munro <[email protected]> wrote:
> Yeah the script seems to attempt to run a file that's not there, I guess I
> did not install the exe. I have looked at the API tonight and changed
> installExe bin/* to installExe ../path/to/bin/* this compiled the package
> and attempted to install it but I could find no record of warp outside of my
> home directory, and I installed as root.

Whatever command(s) you run in [BuildPrepare] section should install
files to the $build_root (this variable is set by autopackage).

For almost all projects, this is done automatically by the
prepareBuild Autopackage function. If you are using makefiles and
configure scripts, then it should be no problem - just call
prepareBuild.

This is important, because the [Install]-section expects files to be
relative to the $build_root. Therefore, you should have installExe
bin/* which would be translated by autopackage to:
   cp $build_root/bin/* $prefix/bin/
when the package is installed.

-Isak

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]