[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 53e1802 4/8: Use a gainlier name for source d
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 53e1802 4/8: Use a gainlier name for source directory |
Date: |
Thu, 18 May 2017 22:45:45 -0400 (EDT) |
branch: master
commit 53e1802120a17c69a822907c9806d57c2d5774e7
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Use a gainlier name for source directory
---
install_wx.make | 5 ++++-
install_wxpdfdoc.make | 10 +++++++---
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/install_wx.make b/install_wx.make
index bf2a920..e2fb311 100644
--- a/install_wx.make
+++ b/install_wx.make
@@ -75,7 +75,9 @@ ifneq ($(use_git), N)
wx_commit_sha := 41045df7ea5f93e4c07c1bd846d7127a372705bd
wx_md5 := 89775012799fe5c9bd8ea61e5fa43da7
- wx_version := $(wx_commit_sha)
+# Use a string distinct from any official wxwidgets.org release name
+# and from any such string previously used in this makefile.
+ wx_version := 3.1.0-p1
wx_archive := wxWidgets-$(wx_commit_sha).zip
@@ -211,6 +213,7 @@ WGETFLAGS :=
cd $(cache_dir) && [ -e $@ ] || $(WGET) $(WGETFLAGS) $(address@hidden)
cd $(cache_dir) && $(ECHO) "$(address@hidden) *$@" | $(MD5SUM) --check
-$(UNZIP) $(UNZIPFLAGS) $(cache_dir)/$@ -d $(wx_dir)
+ mv $(wx_dir)/$(basename $@) $(source_dir)
.PHONY: wx
wx:
diff --git a/install_wxpdfdoc.make b/install_wxpdfdoc.make
index 904e9a0..6e04ae2 100644
--- a/install_wxpdfdoc.make
+++ b/install_wxpdfdoc.make
@@ -58,10 +58,13 @@ ifeq (CYGWIN,$(findstring CYGWIN,$(uname)))
host_type := i686-w64-mingw32
endif
-compiler := gcc-$(shell $(mingw_bin_dir)$(host_type)-gcc -dumpversion)
+compiler := gcc-$(shell $(mingw_bin_dir)$(host_type)-gcc -dumpversion)
-wx_cc_flags := -fno-omit-frame-pointer
-wx_cxx_flags := -fno-omit-frame-pointer -std=c++11
+wxpdfdoc_version := 0.9.4
+source_dir := $(wxpdfdoc_dir)/wxPdfDoc-$(wxpdfdoc_version)
+
+wx_cc_flags := -fno-omit-frame-pointer
+wx_cxx_flags := -fno-omit-frame-pointer -std=c++11
config_options = \
--prefix=$(prefix) \
@@ -104,6 +107,7 @@ WGETFLAGS :=
cd $(cache_dir) && [ -e $@ ] || $(WGET) $(WGETFLAGS) $(address@hidden)
cd $(cache_dir) && $(ECHO) "$(address@hidden) *$@" | $(MD5SUM) --check
-$(UNZIP) $(UNZIPFLAGS) $(cache_dir)/$@ -d $(wxpdfdoc_dir)
+ mv $(wxpdfdoc_dir)/$(basename $@) $(source_dir)
.PHONY: wxpdfdoc
wxpdfdoc: $(wxpdfdoc_archive)
- [lmi-commits] [lmi] master updated (dc58a57 -> df34159), Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master 65e02fd 2/8: Make wx build directory at a more appropriate time, Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master d93fdce 6/8: Halt on wx patch failure, Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master d6b7693 3/8: Move wget flags into $(WGETFLAGS), Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master 296dad1 5/8: Base wx patches on source directory, not its parent, Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master df34159 8/8: Remove an unnecessary makefile variable, Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master 8717778 1/8: Update lists of handy commands, Greg Chicares, 2017/05/18
- [lmi-commits] [lmi] master 53e1802 4/8: Use a gainlier name for source directory,
Greg Chicares <=
- [lmi-commits] [lmi] master bca897c 7/8: Add new wx patch; remove old ones (VZ), Greg Chicares, 2017/05/18