Re: Packing a C# project.
"Neil Munro" <[email protected]> Thu, 12 Jun 2008 14:20:12 +0100
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
2008/6/12 Isak Savo <[email protected]>: > On Thu, Jun 12, 2008 at 1:03 AM, Neil Munro <[email protected]> wrote: > > Ok as far as I can tell it's working now, took me a while with "//" > > appearing where sometimes a prefixed forward slash was added sometimes it > > was not, depending on what functions were called, but it's all tidy now. > So > > next problem. > > > > help.txt this should be in $PREFIX/share, which occurs at install time, > ok I > > get it, but how do I implement this for autopackage? > > I don't really know how to do this in monodevelop. What you want is > the equivalent of "make install" for mono programs. > > See if there exist some sort of makefile integration for monodevelop > projects.. I've been meaning to write something like this, but > haven't had time. As a small teaser I can mention that I'm actually > developing a tool (similar to mkapspec, but less "wizardy") for > autopackage using c# which I intend to use as a pilot for making sure > autopackage can work good for mono apps. MonoDevelop has an autotools packaging process which builds a tarball you can run ./configure, make and sudo make install on. You have to export this package first and cannot run it on the current working directory that's the only caveat. > > > > This is what I have so far: > > > > string sFileName = ""; > > > > if ( File.Exists( "../share/help.txt" ) ) > > { > > sFileName = "../share/help.txt"; > > } > > > > else > > { > > sFileName = Path.Combine( BinReloc.DataDir, > "help.txt" > > ); > You should add "wasp" to this: Path.Combine(BinReloc.DataDir, > "wasp/help.txt"); > > Take a look at your own /usr/share/ directory and see what other programs > do. Will do and will attempt to refrain from top posting, GMail hides a lot of text from me, will hunt for the 'show quoted text button' in future. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] > For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected] > >