emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/idlwave 26db2a7ad3 096/360: - Silence errors relating t


From: ELPA Syncer
Subject: [elpa] externals/idlwave 26db2a7ad3 096/360: - Silence errors relating to missing help package or xemacs distrib.
Date: Sun, 28 Apr 2024 00:59:12 -0400 (EDT)

branch: externals/idlwave
commit 26db2a7ad38c20f7eb27d872e52485fb8a735d2f
Author: jdsmith <jdsmith>
Commit: jdsmith <jdsmith>

    - Silence errors relating to missing help package or xemacs distrib.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index b99a49f0a2..7d13929cc6 100644
--- a/Makefile
+++ b/Makefile
@@ -123,13 +123,13 @@ install-info:
 
 
 # HELP 
-HELPFILEMAYBE := $(shell ls -1 idlwave-*help.tar.* | head -1)
+HELPFILEMAYBE := $(shell ls -1 idlwave-*help.tar.* 2>/dev/null | head -1 )
 ifdef HELPFILEMAYBE
 HELPFILECODE  := $(shell echo $(HELPFILEMAYBE) | grep -q "\.gz$$" && echo "z" 
|| echo "j")
 endif
 
 # XEMACS VERSION
-XEMACS-TAG := $(shell perl -ne 'if(/^VERSION\s+=\s+([0-9]\.[0-9]+)/) {print 
$$1; exit}' $(XEMACSDIR)/Makefile)
+XEMACS-TAG := $(shell [ -f  $(XEMACSDIR)/Makefile ] &&  perl -ne 
'if(/^VERSION\s+=\s+([0-9]\.[0-9]+)/) {print $$1; exit}' $(XEMACSDIR)/Makefile)
 
 
 .PHONY: helpdist



reply via email to

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