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

Mattias Gärtner nc-gaertnma at netcologne.de
Fri Jun 27 10:46:30 CEST 2008


Zitat von Csányi Pál <csanyipal at gmail.com>:

> Mattias Gaertner <nc-gaertnma at netcologne.de> writes:
>
> > On Thu, 26 Jun 2008 22:21:49 +0200
> > csanyipal at gmail.com (Csányi Pál) wrote:
> >
> >> 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.
> >
> > Maybe your file mask is incorrect?
>
> My system is Debian GNU/Linux Etch so the executable binaries hasn't a
> file mask.

No file has a mask. Your file has no extension.
That's why you must use the right mask in the 'include filter'.


> After I compiled a Lazarus project I get the following files in the
> project directory:
>
> lptinterface1.hu.mo
> lptinterface1.po
> lptinterfaceunit1.o
> interfaces.o
> lptinterface1.hu.po
> lptinterface1.sr.mo
> lptinterfaceunit1.pas
> interfaces.pas
> lptinterface1.lpi
> lptinterface1.sr.po
> lptinterfaceunit1.ppu
> interfaces.ppu
> lptinterface1.lpr
> lptinterfaceunit1.lfm
> lptinterfaceunit1.rst
> lptinterface1   <-------- This is the binary file.
> lptinterface1.mo
> lptinterfaceunit1.lrs
> lptinterface1.compiled
> lptinterface1.o
> lptinterfaceunit1.lrt
>
>
> I can to run the 'lptinterface1' binary file in the xterm window with
> the
>
> ./lptinterface1
>
> command.
>
>
> This file: lptinterface1 hasn't a file mask, right?
>
> When I am publishing this project I have the following setup at:
>
> (_ mean that the box is not set,
>  * mean that the box is set)
>
> 'Files':
>
> _ Ignore binaries
>
> 'Use Include Filter':
>
> * Use Include Filter
> * Simple Syntax
>
> .(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml|txt|po)

This mask does not fit for lptinterface1. One solution: append:
,lptinterface1


> 'Exclude Filter':
>
> * Use Exclude Filter
> * Simple Syntax
>
> .(bak|ppu|ppw|o|so);*~;backup
>
> Is my file mask incorrect?
>
> What am I doing wrong?


Mattias




More information about the Lazarus mailing list