mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
speedo: Add updates from 2.2
--
This commit is contained in:
parent
fc8b811283
commit
89d75b9352
17
Makefile.am
17
Makefile.am
@ -24,7 +24,7 @@
|
||||
# Location of the released tarball archives. This is prefixed by
|
||||
# the variable RELEASE_ARCHIVE in ~/.gnupg-autogen.rc. For example:
|
||||
# RELEASE_ARCHIVE=user@host:archive/tarballs
|
||||
RELEASE_ARCHIVE_SUFFIX = gnupg/v2.3
|
||||
RELEASE_ARCHIVE_SUFFIX = gnupg/v2.4
|
||||
# The variable RELEASE_SIGNKEY in ~/.gnupg-autogen.rc is used
|
||||
# to specify the key for signing. For example:
|
||||
# RELEASE_SIGNKEY=D8692123C4065DEA5E0F3AB5249B39D24F25E3B6
|
||||
@ -238,11 +238,26 @@ release:
|
||||
./autogen.sh --force; \
|
||||
cd $(abs_top_builddir); \
|
||||
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; \
|
||||
echo "/* Running make distcheck */";\
|
||||
$(MAKE) distcheck TESTFLAGS=--parallel; \
|
||||
echo "/* Unpacking release */";\
|
||||
$(AMTAR) xjf $(RELEASE_NAME).tar.bz2 ;\
|
||||
target=w32-release ;\
|
||||
[ -n "$(WITH_MSI)" ] && target=w32-msi-release ;\
|
||||
echo "/* Running $(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk $${target} */";\
|
||||
$(MAKE) -f $(RELEASE_NAME)/build-aux/speedo.mk $${target} ;\
|
||||
echo "/* Build finished at $$(date -uIseconds) */" ;\
|
||||
echo "/*" ;\
|
||||
|
@ -141,6 +141,10 @@ help-wixlib:
|
||||
@echo 'Afterwards w32-msi-release will also build 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
|
||||
|
||||
native: check-tools
|
||||
@ -235,7 +239,7 @@ STATIC=0
|
||||
# external packages.
|
||||
TARBALLS=$(shell pwd)/../tarballs
|
||||
|
||||
# Number of parallel make jobs
|
||||
# Number of parallel make jobs for each package
|
||||
MAKE_J=3
|
||||
|
||||
# Name to use for the w32 installer and sources
|
||||
@ -258,6 +262,8 @@ $(eval $(call READ_AUTOGEN_template,AUTHENTICODE_CERTS))
|
||||
$(eval $(call READ_AUTOGEN_template,OSSLSIGNCODE))
|
||||
$(eval $(call READ_AUTOGEN_template,OSSLPKCS11ENGINE))
|
||||
$(eval $(call READ_AUTOGEN_template,SCUTEMODULE))
|
||||
$(eval $(call READ_AUTOGEN_template,OVERRIDE_TARBALLS))
|
||||
|
||||
|
||||
# All files given in AUTHENTICODE_FILES are signed before
|
||||
# they are put into the installer.
|
||||
@ -267,6 +273,7 @@ AUTHENTICODE_FILES= \
|
||||
gpg-agent.exe \
|
||||
gpg-connect-agent.exe \
|
||||
gpg-preset-passphrase.exe \
|
||||
gpg-check-pattern.exe \
|
||||
gpg-wks-client.exe \
|
||||
gpg.exe \
|
||||
gpgconf.exe \
|
||||
@ -884,14 +891,14 @@ endif
|
||||
# The playground area is our scratch area, where we unpack, build and
|
||||
# install the packages.
|
||||
$(stampdir)/stamp-directories:
|
||||
$(MKDIR) $(root) || true
|
||||
$(MKDIR) $(stampdir) || true
|
||||
$(MKDIR) $(sdir) || true
|
||||
$(MKDIR) $(bdir) || true
|
||||
$(MKDIR) $(idir) || true
|
||||
$(MKDIR) -p $(root)
|
||||
$(MKDIR) -p $(stampdir)
|
||||
$(MKDIR) -p $(sdir)
|
||||
$(MKDIR) -p $(bdir)
|
||||
$(MKDIR) -p $(idir)
|
||||
ifeq ($(TARGETOS),w32)
|
||||
$(MKDIR) $(bdir6) || true
|
||||
$(MKDIR) $(idir6) || true
|
||||
$(MKDIR) -p $(bdir6)
|
||||
$(MKDIR) -p $(idir6)
|
||||
endif
|
||||
touch $(stampdir)/stamp-directories
|
||||
|
||||
@ -1010,6 +1017,13 @@ $(stampdir)/stamp-$(1)-00-unpack: $(stampdir)/stamp-directories
|
||||
cd "$$$${pkg}"; \
|
||||
AUTOGEN_SH_SILENT=1 ./autogen.sh; \
|
||||
elif [ -n "$$$${tar}" ]; then \
|
||||
tar2="$(OVERRIDE_TARBALLS)/$$$$(basename $$$${tar})";\
|
||||
if [ -f "$$$${tar2}" ]; then \
|
||||
tar="$$$$tar2"; \
|
||||
echo "speedo: /*"; \
|
||||
echo "speedo: * Note: using an override"; \
|
||||
echo "speedo: */"; \
|
||||
fi; \
|
||||
echo "speedo: unpacking $(1) from $$$${tar}"; \
|
||||
case "$$$${tar}" in \
|
||||
*.gz) pretar=zcat ;; \
|
||||
@ -1535,9 +1549,10 @@ 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