lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master df34159 8/8: Remove an unnecessary makefile v


From: Greg Chicares
Subject: [lmi-commits] [lmi] master df34159 8/8: Remove an unnecessary makefile variable
Date: Thu, 18 May 2017 22:45:45 -0400 (EDT)

branch: master
commit df34159291f964aafe1f0bca8811c7cd02dd225d
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove an unnecessary makefile variable
    
    This fixes an unpushed defect committed 20170518T2242Z.
---
 install_wxpdfdoc.make | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/install_wxpdfdoc.make b/install_wxpdfdoc.make
index 6e04ae2..d7ccba2 100644
--- a/install_wxpdfdoc.make
+++ b/install_wxpdfdoc.make
@@ -38,8 +38,7 @@ wxpdfdoc_dir  := /opt/lmi/wxpdfdoc-scratch
 # name, so we need a separate "urlbase" variable.
 
 wxpdfdoc_commit             := 5ac28a73e74916cf44d0ce286976e21d948e9bd8
-wxpdfdoc_basename           := wxpdfdoc-$(wxpdfdoc_commit)
-wxpdfdoc_archive            := $(wxpdfdoc_basename).zip
+wxpdfdoc_archive            := wxpdfdoc-$(wxpdfdoc_commit).zip
 $(wxpdfdoc_archive)-urlbase := $(wxpdfdoc_commit).zip
 $(wxpdfdoc_archive)-root    := https://github.com/vadz/wxpdfdoc/archive
 $(wxpdfdoc_archive)-url     := 
$($(wxpdfdoc_archive)-root)/$($(wxpdfdoc_archive)-urlbase)
@@ -111,7 +110,7 @@ WGETFLAGS :=
 
 .PHONY: wxpdfdoc
 wxpdfdoc: $(wxpdfdoc_archive)
-       cd $(wxpdfdoc_dir)/$(wxpdfdoc_basename) \
+       cd $(source_dir) \
          && export PATH="$(mingw_bin_dir):${PATH}" \
          && ./configure $(config_options) \
          && $(MAKE) install_pdfdoc_dll install_pdfdoc_dll_headers \
@@ -120,7 +119,7 @@ wxpdfdoc: $(wxpdfdoc_archive)
 clobber:
 # The 'uninstall_pdfdoc_dll_headers' target doesn't remove the (now empty)
 # directory where the headers are installed, so do it separately ourselves.
-       -cd $(wxpdfdoc_dir)/$(wxpdfdoc_basename) && \
+       -cd $(source_dir) && \
            $(MAKE) uninstall_pdfdoc_dll uninstall_pdfdoc_dll_headers
        -$(RMDIR) $(prefix)/include/wx
        -$(RM) --force --recursive $(wxpdfdoc_dir)



reply via email to

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