OpenPKG CVS Repository
  http://www.openpkg.org/cvsweb/cvsweb.cgi
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   09-Aug-2002 20:22:46
  Branch: HEAD                             Handle: 2002080919224500

  Modified files:
    openpkg-re/release      Makefile

  Log:
    a variant for full-logfile based building

  Summary:
    Revision    Changes     Path
    1.5         +20 -1      openpkg-re/release/Makefile
  ____________________________________________________________________________

  Index: openpkg-re/release/Makefile
  ============================================================
  $ cvs diff -u -r1.4 -r1.5 Makefile
  --- openpkg-re/release/Makefile       9 Aug 2002 16:04:44 -0000       1.4
  +++ openpkg-re/release/Makefile       9 Aug 2002 18:22:45 -0000       1.5
  @@ -28,7 +28,7 @@
   SRC2MAKE    = ../src2make.pl
   SHTOOL      = ./shtool
   
  -all: slave-build
  +all: slave-build-check
   
   #
   #   master targets
  @@ -170,6 +170,25 @@
            SRC="$$work/src/$$hostname-$$target" \
                DST="$$work/bin/$$hostname-$$target" \
                TMP="$$tmp" EXEC_HOST="$$hostname" $$what
  +
  +slave-build-check:
  +     @hostname=$(HOSTNAME); target=$(TARGET); \
  +     if [ ! -f $(WORK)/src/$$hostname-$$target/Makefile ]; then \
  +         $(MAKE) $(MFLAGS) slave-prepare; \
  +     fi; \
  +     $(SHTOOL) echo -e "%B++ Building latest OpenPKG-CURRENT slave source RPMs 
($(WORK)/src/$$hostname-$$target/)%b"; \
  +     work="`$$SHELL -c 'cd $$PWD; cd $(WORK); pwd'`"; \
  +     if [ -d "/ltmp/openpkg-$$hostname-$$target" ]; then \
  +             tmp="/ltmp/openpkg-$$hostname-$$target"; \
  +     else \
  +             tmp="$$work/tmp/$$hostname-$$target"; \
  +     fi; \
  +     make=`$(SHTOOL) path make`; \
  +     cd $(WORK)/src/$$hostname-$$target/; \
  +     $$make $(MFLAGS) \
  +         SRC="$$work/src/$$hostname-$$target" \
  +             DST="$$work/bin/$$hostname-$$target" \
  +             TMP="$$tmp" EXEC_HOST="$$hostname" try-build-latest
   
   slave-build-final: 
        @hostname=$(HOSTNAME); target=$(TARGET); \
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to