Re: Packing a C# project.

"Neil Munro" <[email protected]> Mon, 16 Jun 2008 12:45:44 +0100
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
2008/6/16 Jan Niklas Hasse <[email protected]>:

> > I'm still kinda stuck as to what I am supposed to do with the make files
> and
> > what not which might include the help.txt file into my autopackage, can
> > someone explain a little further?
>
> I don't how to do it with make files, but i could try to explain it to
> you how i do it for my projects.


Someone said I should look for a make file stuff for it, was just going by
that, but I do wanna autopackage this quickly and easily.


>
>
> I create a script called install.sh which looks like this:
>
> #!/bin/sh
> prefix=$1
> install -D bin/hallowelt $prefix/bin/hallowelt
> install -D share/icons/hallowelt.png $prefix/share/icons/hallowelt.png
> install -D share/hallowelt/hallowelt.png
> $prefix/share/hallowelt/hallowelt.png
> install -D hallowelt.desktop $prefix/share/applications/hallowelt.desktop


I'm bad at languages but presumably this is a basic hello world program? I
replace all occurrences of hallowelt to read warp, and just amend it to only
(at the moment) include the help file. For now I will place it in
$PREFIX/share/warp/help.txt.

So my file looks like this
#!/bin/sh
prefix=$1
install -D bin/warp $prefix/bin/warp
install -D share/warp/help.txt $prefix/share/warp/help.txt
#install -D share/icons/warp.png $prefix/share/icons/warp.png
#install -D share/warp/warp.png $prefix/share/warp/warp.png
#install -D warp.desktop $prefix/share/applications/warp.desktop


>
>
> I then call it BuildPrepare:
>
> ./install $build_root


Presumably this install.sh file needs to be somewhere specific in the source
tree? The build output directory by chance?

>
>
> An import everything in import:
>
> echo '*' | import


Uhm, what's does this step do?


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