On Thu, 26 Jun 2008 17:31:11 +0200 [EMAIL PROTECTED] (Csányi Pál) wrote:
> Hello! > > 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 > What to put in this command > > tar cjf $(?)/lptinterface.tar.bz2 $(ProjPublishDir) > ^^^ > at this point > > to get the project files in the project.tar.bz2 without these > directories that is the path to the project directory? > > 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 > Any advices will be appreciated! Mattias _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
