lmi-commits
[Top][All Lists]
Advanced

[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=$@'
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]