[Lazarus] Publishing a Lazarus project - including the binary file

Csányi Pál csanyipal at gmail.com
Thu Jun 26 22:21:49 CEST 2008


Mattias Gaertner <nc-gaertnma at netcologne.de> writes:

> On Thu, 26 Jun 2008 17:31:11 +0200
> csanyipal at gmail.com (Csányi Pál) wrote:
>
>> I have installed on Debian GNU/Linux Etch Lazarus version 0.9.25
>> beta Date 2008-6-18. 
>> 
>> I try to publish a project with 'Command after'.
>> 
>> If I use as a 'Command after' in the 'Publish Project...' window the:
>> 
>> tar cjf $(ProjPath)/project.tar.bz2 $(ProjPublishDir)
>> 
>> command, then almost everything is OK:
>> 
>> the project.tar.bz2 is in the project directory, but if I untar it
>> 
>> with command: 
>> 
>> tar xjf project.tar.bz2
>> 
>> then I get /lot/of/directories/project_files.
>
> Try the -C option of tar. For example:
>
> /bin/tar czf $(TestDir)/projectname.tgz -C $(TestDir) projectname

I understand now the point, it works!

>> What are these variables: $(ProjPublishDir), etc., and how many are
>> there?
>> 
>> Where can I read about them?
>
> http://wiki.lazarus.freepascal.org/IDE_Macros_in_paths_and_filenames

Thanks! It's hard to find this link on the lazarus wiki page.

Now I want to include the binary file too in to the published
project.tar.bz2 but I can't to get it, however I leave blank the box
before Files / Ignore binaries.

Why can't I include the binary file in to the published project?

-- 
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm




More information about the Lazarus mailing list