[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 785c723 1/6: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 785c723 1/6: Improve documentation |
Date: |
Fri, 19 May 2017 17:57:52 -0400 (EDT) |
branch: master
commit 785c7239fe877e62ab91e5ff64c84ffc69585b76
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve documentation
---
install_wx.make | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/install_wx.make b/install_wx.make
index 1f43fe4..f4d7f34 100644
--- a/install_wx.make
+++ b/install_wx.make
@@ -199,12 +199,20 @@ WGETFLAGS :=
cd $(cache_dir) && $(ECHO) "$(address@hidden) *$@" | $(MD5SUM) --check
-$(TAR) --extract $(TARFLAGS) --directory=$(wx_dir)
--file=$(cache_dir)/$@
+# Used only for retrieval from github by sha1sum.
+#
# This archive is dynamically created by github, as of a commit
-# specified by the sha1sum embedded in the URL; '--output-document'
-# is used to add 'wxWidgets-' to its name. Not being a static file,
-# it doesn't bear a historical timestamp corresponding to the commit
-# date. See:
+# specified by the sha1sum embedded in the URL. Not being a static
+# file, it doesn't bear a historical timestamp corresponding to the
+# commit date--see:
# http://lists.nongnu.org/archive/html/lmi/2015-08/msg00012.html
+# By default, the cached archive's name would be just the sha1sum plus
+# a '.zip' extension, which does not obviously have anything to do
+# with wx, so use '--output-document' to prepend "wxWidgets-" to its
+# name (while this is not that option's intended purpose, it does the
+# right thing in this case). The resulting filename is appropriate for
+# caching, but the name of the directory into which it extracts is
+# inconvenient for actual use, so rename that directory immediately.
%.zip: WGETFLAGS += '--output-document=$@'
- [lmi-commits] [lmi] master updated (df34159 -> b75c427), Greg Chicares, 2017/05/19
- [lmi-commits] [lmi] master ba75c8d 2/6: Move patch flags into $(PATCHFLAGS), Greg Chicares, 2017/05/19
- [lmi-commits] [lmi] master 785c723 1/6: Improve documentation,
Greg Chicares <=
- [lmi-commits] [lmi] master 902eafd 5/6: Make wx server configurable, Greg Chicares, 2017/05/19
- [lmi-commits] [lmi] master 128fe1f 3/6: Refactor for clarity, Greg Chicares, 2017/05/19
- [lmi-commits] [lmi] master b75c427 6/6: Withdraw support for twentieth-century shells, Greg Chicares, 2017/05/19
- [lmi-commits] [lmi] master b585cc2 4/6: Remove obsolete ftp.wxwidgets.org support, Greg Chicares, 2017/05/19