SV: SV: [cvsnt] directory references

Kenneth Sørensen KES at epoke.dk
Thu Nov 3 08:54:14 GMT 2005


Hi

This is the solution I use at the moment but I hoped that it would be possible to do it directly in the CVS command. The pushd/popd solution is fine for a batch-file but my make cannot change directory. At the moment I have made the Makefile call a batch-file containing:

pushd <libdir>
cvs uopdate
popd

This works but it is not a very elegant solution.

Thank you for the input

/Kenneth

-----Oprindelig meddelelse-----
Fra: Torsten Martinsen [mailto:torsten at tiscali.dk]
Sendt: 2. november 2005 20:38
Til: Kenneth Sørensen
Cc: cvsnt at cvsnt.org
Emne: Re: SV: [cvsnt] directory references


Kenneth Sørensen wrote:

>In the project we have a batch-file called make.bat, which is used to retrieve the latest copy of the libraries and compile the software.
>
>The contents are:
>cvs update ..\..\cvslib\lib-pic
>mpasm theproject.asm
>
Change it to

pushd ..\..\cvslib\lib-pic
cvs update
popd
mpasm theproject.asm


and all will probably be fine.

-Torsten




More information about the cvsnt mailing list