mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
use tarball method of source distribution
This commit is contained in:
@@ -6,21 +6,28 @@
|
|||||||
MODULE = bind
|
MODULE = bind
|
||||||
BASE = /build
|
BASE = /build
|
||||||
BDIR = $(BASE)/$(MODULE)
|
BDIR = $(BASE)/$(MODULE)
|
||||||
DDIR = $(BASE)/$(MODULE)/dst
|
|
||||||
RDIR = /proj/build-reports/bind8/hosts/$(PLATFORM)
|
RDIR = /proj/build-reports/bind8/hosts/$(PLATFORM)
|
||||||
|
SDIR = $(HOME)/b8t/src
|
||||||
CVSROOT = /proj/cvs/isc
|
CVSROOT = /proj/cvs/isc
|
||||||
|
|
||||||
all: clobber checkout config build
|
all: clobber populate config build
|
||||||
|
|
||||||
clobber:
|
clobber:
|
||||||
@if test ! -d $(BASE) ; then mkdir -p $(BASE) ; fi
|
|
||||||
@echo "CLOBBBER `date`"
|
@echo "CLOBBBER `date`"
|
||||||
@( cd $(BASE) && rm -fr $(MODULE) )
|
@if test ! -d $(BASE) ; then mkdir -p $(BASE) ; fi
|
||||||
|
@rm -fr $(BDIR)
|
||||||
@echo "DONE `date`"
|
@echo "DONE `date`"
|
||||||
|
|
||||||
checkout:
|
populate:
|
||||||
@echo "CHECKOUT `date`"
|
@echo "POPULATE `date`"
|
||||||
@( cd $(BASE) && cvs -d $(CVSROOT) checkout $(MODULE) )
|
@( cd $(BASE) && tar -xvf $(SDIR)/$(MODULE).tar ) > $(RDIR)/.populate 2>&1
|
||||||
|
@echo "DONE `date`"
|
||||||
|
|
||||||
|
tarsrc:
|
||||||
|
@echo "TARSRC `date`"
|
||||||
|
@rm -fr $(SDIR)/$(MODULE)
|
||||||
|
@( cd $(SDIR) && cvs -d $(CVSROOT) checkout $(MODULE) )
|
||||||
|
@( cd $(SDIR) && tar -cvf $(MODULE).tar $(MODULE) )
|
||||||
@echo "DONE `date`"
|
@echo "DONE `date`"
|
||||||
|
|
||||||
config:
|
config:
|
||||||
|
@@ -8,24 +8,25 @@
|
|||||||
BASE = /build
|
BASE = /build
|
||||||
BDIR = $(BASE)
|
BDIR = $(BASE)
|
||||||
MODULE = bind9
|
MODULE = bind9
|
||||||
|
SDIR = $(HOME)/b9t/src
|
||||||
|
|
||||||
# as it says
|
# as it says
|
||||||
CVSROOT = /proj/cvs/isc
|
CVSROOT = /proj/cvs/isc
|
||||||
|
|
||||||
# where the config, build and test output g oes
|
# where the config, build and test output goes
|
||||||
RDIR = /proj/build-reports/$(MODULE)/hosts/$(PLATFORM)
|
RDIR = /proj/build-reports/$(MODULE)/hosts/$(PLATFORM)
|
||||||
|
|
||||||
all: clobber checkout config build test
|
all: clobber populate config build test
|
||||||
|
|
||||||
clobber:
|
clobber:
|
||||||
@if test ! -d $(BDIR) ; then mkdir -p $(BDIR) > /dev/null 2>&1 ; fi
|
|
||||||
@echo "CLOBBBER `date`"
|
@echo "CLOBBBER `date`"
|
||||||
( cd $(BDIR) && rm -fr $(MODULE) )
|
@if test ! -d $(BDIR) ; then mkdir -p $(BDIR) > /dev/null 2>&1 ; fi
|
||||||
|
@( cd $(BDIR) && rm -fr $(MODULE) )
|
||||||
@echo "DONE `date`"
|
@echo "DONE `date`"
|
||||||
|
|
||||||
checkout:
|
populate:
|
||||||
@echo "CHECKOUT `date`"
|
@echo "POPULATE `date`"
|
||||||
@( cd $(BDIR) && cvs -d $(CVSROOT) checkout $(MODULE) )
|
@( cd $(BDIR) && tar -xvf $(SDIR)/$(MODULE).tar ) > $(RDIR)/.populate 2>&1
|
||||||
@echo "DONE `date`"
|
@echo "DONE `date`"
|
||||||
|
|
||||||
config:
|
config:
|
||||||
@@ -43,3 +44,9 @@ test:
|
|||||||
-@( cd $(BDIR)/$(MODULE)/bin/tests && $(MAKE) test ) > $(RDIR)/.test 2>&1
|
-@( cd $(BDIR)/$(MODULE)/bin/tests && $(MAKE) test ) > $(RDIR)/.test 2>&1
|
||||||
@echo "DONE `date`"
|
@echo "DONE `date`"
|
||||||
|
|
||||||
|
tarsrc:
|
||||||
|
@echo "TARSRC `date`"
|
||||||
|
@rm -fr $(SDIR)/$(MODULE)
|
||||||
|
@( cd $(SDIR) && cvs -d $(CVSROOT) checkout $(MODULE) && tar -cvf $(MODULE).tar $(MODULE) )
|
||||||
|
@echo "DONE `date`"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user