Mattias Gaertner <[EMAIL PROTECTED]> writes: > On Thu, 26 Jun 2008 17:31:11 +0200 > [EMAIL PROTECTED] (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 _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
