Re: import function

"Jan Niklas Hasse" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
My default.apspec looks like this:

[Imports]
import <<EOF
$source_dir/bin/hallowelt
$source_dir/share/hallowelt/hallowelt.png
$source_dir/hallowelt.desktop
$source_dir/share/pixmaps/hallowelt.png
EOF

[Install]
installExe hallowelt
installData share/hallowelt
installIcon hallowelt.png
installMenuItem "Utility" hallowelt.desktop

When i install the package, the hallowelt binary is copied to $PREFIX/share
instead of the hallowelt folder with the hallowelt.png. What am i doing
wrong?

2007/11/8, Isak Savo <[email protected]>:
>
> 2007/11/7, Jan Niklas Hasse <[email protected]>:
> >
> > $source_dir/share/hallowelt/hallowelt.png
> > $source_dir/share/pixmaps/hallowelt.png
> >
> > But now i got a problem, because there are two files that are called
> hallowelt.png. How
> > can i solve this? (Or what does import actually do?)
>
> import will honor your directory structure, so it should not be any
> problem.
>
> -Isak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
> For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.