[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about build dependencies.



On Mon, Dec 17, 2001 at 05:19:07PM -0500, Joey Hess wrote:
> CVSGET=cvs -d":pserver:anonymous@cvs.debian.org:/cvs/webwml" \
>         co -p webwml/english/mirror/Mirrors.masterlist
> 
> build:
>         # Freshen Mirrors.masterlist file, but allow failure.
>         if $(CVSGET) > Mirrors.masterlist.0 \
>            && [ -s "Mirrors.masterlist.0" ]; then \
>                 mv -f Mirrors.masterlist.0 Mirrors.masterlist > /dev/null 2>&1;
>         fi
>
> This is good since it means it gets an up-to-date Mirrors.masterlist without me
> having to remember to update it..

Ahh thanks. That is a good way to do it. I'll adopt it right away. For both
java-common and harden-doc. Then I'll get the best from both worlds.

Regards,

// Ola

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Björnkärrsgatan 5 A.11   \
|  opal@lysator.liu.se                 584 36 LINKÖPING         |
|  +46 (0)13-17 69 83                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------



Reply to: