mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
speedo: Support CUSTOM_SWDB builds.
--
This commit is contained in:
parent
8346ebf168
commit
11d3114e1a
17
Makefile.am
17
Makefile.am
@ -189,10 +189,25 @@ release:
|
|||||||
./autogen.sh --force; \
|
./autogen.sh --force; \
|
||||||
cd $(abs_top_builddir); \
|
cd $(abs_top_builddir); \
|
||||||
rm -rf dist; mkdir dist ; cd dist ; \
|
rm -rf dist; mkdir dist ; cd dist ; \
|
||||||
|
mkopt=""; \
|
||||||
|
if [ -n "$$CUSTOM_SWDB" ]; then \
|
||||||
|
mkopt="CUSTOM_SWB=1"; \
|
||||||
|
x=$$(grep '^OVERRIDE_TARBALLS=' \
|
||||||
|
$$HOME/.gnupg-autogen.rc|cut -d= -f2);\
|
||||||
|
if [ -f "$$x/swdb.lst" ]; then \
|
||||||
|
echo "/* Copying swdb.lst from the overrides directory */"; \
|
||||||
|
cp "$$x/swdb.lst" . ; \
|
||||||
|
cp "$$x/swdb.lst.sig" . ; \
|
||||||
|
fi; \
|
||||||
|
fi; \
|
||||||
|
echo "/* Running configure */";\
|
||||||
$(abs_top_srcdir)/configure --enable-maintainer-mode; \
|
$(abs_top_srcdir)/configure --enable-maintainer-mode; \
|
||||||
|
echo "/* Running make distcheck */";\
|
||||||
$(MAKE) distcheck TESTFLAGS=--parallel; \
|
$(MAKE) distcheck TESTFLAGS=--parallel; \
|
||||||
|
echo "/* Unpacking release */";\
|
||||||
$(TAR) xjf $(RELEASE_NAME).tar.bz2 ;\
|
$(TAR) xjf $(RELEASE_NAME).tar.bz2 ;\
|
||||||
$(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk w32-release ;\
|
echo "/* Running $(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk w32-release $$mkopt";\
|
||||||
|
$(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk w32-release $$mkopt;\
|
||||||
echo "/* Build finished at $$(date -uIseconds) */" ;\
|
echo "/* Build finished at $$(date -uIseconds) */" ;\
|
||||||
echo "/*" ;\
|
echo "/*" ;\
|
||||||
echo " * Please run the final step interactivly:" ;\
|
echo " * Please run the final step interactivly:" ;\
|
||||||
|
@ -135,7 +135,10 @@ help-wixlib:
|
|||||||
@echo ''
|
@echo ''
|
||||||
@echo 'Afterwards w32-release will build also a wixlib.'
|
@echo 'Afterwards w32-release will build also a wixlib.'
|
||||||
|
|
||||||
|
# NB: we can't use +$(MAKE) here because we would need to define the
|
||||||
|
# dependencies of our packages. This does not make much sense given that
|
||||||
|
# we have a clear order in how they are build and concurrent builds
|
||||||
|
# would anyway clutter up the logs.
|
||||||
SPEEDOMAKE := $(MAKE) -f $(SPEEDO_MK) UPD_SWDB=1
|
SPEEDOMAKE := $(MAKE) -f $(SPEEDO_MK) UPD_SWDB=1
|
||||||
|
|
||||||
native: check-tools
|
native: check-tools
|
||||||
@ -226,7 +229,7 @@ STATIC=0
|
|||||||
# external packages.
|
# external packages.
|
||||||
TARBALLS=$(shell pwd)/../tarballs
|
TARBALLS=$(shell pwd)/../tarballs
|
||||||
|
|
||||||
# Number of parallel make jobs
|
# Number of parallel make jobs in each package
|
||||||
MAKE_J=3
|
MAKE_J=3
|
||||||
|
|
||||||
# Name to use for the w32 installer and sources
|
# Name to use for the w32 installer and sources
|
||||||
@ -877,17 +880,18 @@ endif
|
|||||||
# The playground area is our scratch area, where we unpack, build and
|
# The playground area is our scratch area, where we unpack, build and
|
||||||
# install the packages.
|
# install the packages.
|
||||||
$(stampdir)/stamp-directories:
|
$(stampdir)/stamp-directories:
|
||||||
$(MKDIR) $(root) || true
|
$(MKDIR) -p $(root)
|
||||||
$(MKDIR) $(stampdir) || true
|
$(MKDIR) -p $(stampdir)
|
||||||
$(MKDIR) $(sdir) || true
|
$(MKDIR) -p $(sdir)
|
||||||
$(MKDIR) $(bdir) || true
|
$(MKDIR) -p $(bdir)
|
||||||
$(MKDIR) $(idir) || true
|
$(MKDIR) -p $(idir)
|
||||||
ifeq ($(TARGETOS),w32)
|
ifeq ($(TARGETOS),w32)
|
||||||
$(MKDIR) $(bdir6) || true
|
$(MKDIR) -p $(bdir6)
|
||||||
$(MKDIR) $(idir6) || true
|
$(MKDIR) -p $(idir6)
|
||||||
endif
|
endif
|
||||||
touch $(stampdir)/stamp-directories
|
touch $(stampdir)/stamp-directories
|
||||||
|
|
||||||
|
|
||||||
# Frob the name $1 by converting all '-' and '+' characters to '_'.
|
# Frob the name $1 by converting all '-' and '+' characters to '_'.
|
||||||
define FROB_macro
|
define FROB_macro
|
||||||
$(subst +,_,$(subst -,_,$(1)))
|
$(subst +,_,$(subst -,_,$(1)))
|
||||||
@ -981,7 +985,7 @@ endef
|
|||||||
#
|
#
|
||||||
define SPKG_template
|
define SPKG_template
|
||||||
|
|
||||||
$(stampdir)/stamp-$(1)-00-unpack: $(stampdir)/stamp-directories
|
$(stampdir)/stamp-$(1)-00-unpack:
|
||||||
@echo "speedo: /*"
|
@echo "speedo: /*"
|
||||||
@echo "speedo: * $(1)"
|
@echo "speedo: * $(1)"
|
||||||
@echo "speedo: */"
|
@echo "speedo: */"
|
||||||
@ -1256,7 +1260,7 @@ endef
|
|||||||
# Insert the template for each source package.
|
# Insert the template for each source package.
|
||||||
$(foreach spkg, $(speedo_spkgs), $(eval $(call SPKG_template,$(spkg))))
|
$(foreach spkg, $(speedo_spkgs), $(eval $(call SPKG_template,$(spkg))))
|
||||||
|
|
||||||
$(stampdir)/stamp-final: $(stampdir)/stamp-directories clean-pkg-versions
|
$(stampdir)/stamp-final: clean-pkg-versions
|
||||||
ifeq ($(TARGETOS),w32)
|
ifeq ($(TARGETOS),w32)
|
||||||
$(stampdir)/stamp-final: $(addprefix $(stampdir)/stamp-w64-final-,$(speedo_w64_build_list))
|
$(stampdir)/stamp-final: $(addprefix $(stampdir)/stamp-w64-final-,$(speedo_w64_build_list))
|
||||||
endif
|
endif
|
||||||
@ -1535,9 +1539,9 @@ endif
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check availibility of standard tools
|
# Check availibility of standard tools and prepare everything.
|
||||||
#
|
#
|
||||||
check-tools:
|
check-tools: $(stampdir)/stamp-directories
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user