[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [TSVN] Speed optimizing the build process?

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-08-11 16:57:35 CEST

Markus Schuh wrote:
 
> build.bat [ release ] [ debug ] [ doc ] [ setup ]
>
> May be I'm able to change this to
>
> build.bat [ bconfig=[all | release | debug] # default: all
> [ doc=[all | pdf | chm | html ] # default: all
> [ setup=[all | <lang>] # default: all

You can get around calling gendoc.bat by first calling "translatedoc de" and
then changing into "doc/source" and calling "makedoc TortoiseSVN de chm" and
"makedoc TortoiseMerge de chm"

> I'm not sure yet if I'll manage to split the option at "=" to key and
> value by means of batch methods.

Don't use the "=". Use "Option[Blank]Value", like:

"Makedoc --output de"

Example:
---SNIP---
:getparam
if /I [%1]==[-p] (
  SET _PRF=%2
  shift
)
if /I [%1]==[-l] (
  SET _LANG=%2
  shift
)
if /I [%1]==[pdf] SET _PDF=ON
if /I [%1]==[chm] SET _CHM=ON
if /I [%1]==[single] SET _HTML=SINGLE
if /I [%1]==[html] SET _HTML=ON
shift
if NOT [%1]==[] goto :getparam
---SNIP---

It really would be nice if someone would create the language packs with Wix
too (hint, hint :-) ), so we could get rid of nsis. I've got nsis installed
and no wix, but who cares. Hopeflly wix doesn't increase the package size.

Yes, and a better build tool would really be nice. Draco.Net plays well with
Nant...

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 11 16:58:28 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.