Add in creating tar archive file so that make mockbuild works
This commit is contained in:
parent
7f21f2436d
commit
f5d26ad6e6
@ -22,7 +22,7 @@ endif
|
||||
BASEDIR := $(shell basename `pwd`)
|
||||
# BRANCH := $(BASEDIR)
|
||||
# Get tag for module - e.g. contribs10 or sme10 from file left by cvs2git conversion script
|
||||
BRANCH := `cat contriborbase`
|
||||
BRANCH := $(shell cat contriborbase)
|
||||
BRANCHINFO = $(shell grep ^$(BRANCH): $(COMMON_DIR)/branches | cut -d: --output-delimiter=" " -f2-)
|
||||
TARGET := $(word 1, $(BRANCHINFO))
|
||||
DIST = $(word 2, $(BRANCHINFO))
|
||||
@ -157,7 +157,7 @@ PREP_ARCHES = $(addprefix prep-,$(ARCHES))
|
||||
|
||||
# The TARGETS define is meant for local module targets that should be
|
||||
# made in addition to the SOURCEFILES whenever needed
|
||||
TARGETS ?=
|
||||
TARGETS ?= archivefile
|
||||
|
||||
# default target - retrieve the sources and make the module specific targets
|
||||
sources: $(SOURCEFILES) $(TARGETS)
|
||||
@ -348,7 +348,7 @@ archivefile:
|
||||
cp -r root $(TEMPDIR)/$(TREEPATH)/
|
||||
cp createlinks $(TEMPDIR)/$(TREEPATH)/
|
||||
rm -f $TREEPATH.$EXT*
|
||||
tar -czvf $(TREEPATH).$(EXT) -C $(TEMPDIR)/$(TREEPATH) .
|
||||
tar -czvf $(TREEPATH).$(EXT) -C $(TEMPDIR) $(TREEPATH)
|
||||
find $(TEMPDIR) -delete
|
||||
|
||||
verrel:
|
||||
|
Loading…
Reference in New Issue
Block a user