public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH setup 01/15] Add Makefile rule to rename build products to form used when uploading
Date: Tue, 16 May 2017 11:49:00 -0000	[thread overview]
Message-ID: <20170516114900.168120-2-jon.turney@dronecode.org.uk> (raw)
In-Reply-To: <20170516114900.168120-1-jon.turney@dronecode.org.uk>

---
 Makefile.am  | 5 +++++
 configure.ac | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index a947a78..7d5e1e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -273,6 +273,7 @@ inilint_SOURCES = \
 
 GITVER := $(shell cd $(srcdir) && git describe --match release_\* --abbrev=6 --dirty || "N/A")
 VER := $(subst release_,,$(GITVER))
+ARCH := @ARCH@
 
 setup_version.c : Makefile
 	@echo "Setup version: " $(VER)
@@ -307,3 +308,7 @@ upx:	strip
 	else \
 		echo "UPX doesn't seem to be installed, cannot compress setup$(EXEEXT)." ;\
 	fi
+
+release: upx
+	cp setup.dbg setup-${VER}.${ARCH}.dbg
+	cp setup${EXEEXT} setup-${VER}.${ARCH}${EXEEXT}
diff --git a/configure.ac b/configure.ac
index 42ad3e2..ab548c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,15 +74,18 @@ dnl add portability sources to inilint
 case "$host" in
 i?86-*-mingw32)
   SETUP="setup"
+  ARCH="x86"
   ;;
 x86_64-*-mingw32)
   SETUP="setup"
+  ARCH="x86_64"
   ;;
 *)
   AC_MSG_ERROR([Cygwin Setup can only be built for Win32 or Win64 hosts])
   ;;
 esac
 AC_SUBST(SETUP)
+AC_SUBST(ARCH)
 
 AC_CONFIG_FILES([Makefile tests/Makefile])
 AC_OUTPUT
-- 
2.12.3

  reply	other threads:[~2017-05-16 11:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 11:49 [PATCH setup 00/15] Various setup patches Jon Turney
2017-05-16 11:49 ` Jon Turney [this message]
2017-05-16 11:49 ` [PATCH setup 03/15] Rename "Internet Explorer Proxy Settings" to "System Proxy Settings" Jon Turney
2017-05-16 11:49 ` [PATCH setup 05/15] Remove unused forward declaration of non-existent class category Jon Turney
2017-05-16 11:49 ` [PATCH setup 06/15] Remove unneeded virtual from class packagesource's methods Jon Turney
2017-05-16 11:49 ` [PATCH setup 04/15] Remove packageversion::sources(), only packageversion::source() is useful Jon Turney
2017-05-16 11:49 ` [PATCH setup 02/15] Don't bother storing prev version Jon Turney
2017-05-16 11:50 ` [PATCH setup 07/15] Simplify class packagesource Jon Turney
2017-05-16 11:51 ` [PATCH setup 09/15] Initial setting of trust should be TRUST_CURR Jon Turney
2017-05-16 11:51 ` [PATCH setup 08/15] Fix comments and indentation in check_for_cached Jon Turney
2017-05-23 17:34   ` Achim Gratz
2017-05-16 11:58 ` [PATCH setup 10/15] Change PackageSpecification::_operator to an enum Jon Turney
2017-05-16 11:58   ` [PATCH setup 11/15] Remove useless PackageSpecification methods Jon Turney
2017-05-16 11:58   ` [PATCH setup 12/15] Stop pretending to support complex dependencies Jon Turney
2017-05-16 11:59   ` [PATCH setup 13/15] All, rather than just the first (usually current) version should get dependencies Jon Turney
2017-05-16 12:00   ` [PATCH setup 14/15] Make PackageDepends a type Jon Turney
2017-05-16 12:04   ` [PATCH setup 15/15] Add some progress reporting during preremove and uninstall Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170516114900.168120-2-jon.turney@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).