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

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

[elpa] master da5fbd6 46/56: Fix up automake install


From: Rocky Bernstein
Subject: [elpa] master da5fbd6 46/56: Fix up automake install
Date: Sat, 27 May 2017 05:02:37 -0400 (EDT)

branch: master
commit da5fbd6e461211a21c382a09abd5b94be3340560
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

    Fix up automake install
---
 Makefile.am      | 13 +++++++++++++
 autogen.sh       |  4 ++++
 test/Makefile.am |  6 ++++--
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5188ce8..f671e72 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,17 @@
 SUBDIRS = realgud
 
+lisp_files = realgud.el
+lisp_LISP = $(lisp_files)
+include common.mk
+
+#: Run all tests
+test: check
+
 check check-short:
        $(MAKE) -C test $@
+
+#: Run "make install" non-verbosely
+install-short:
+       $(MAKE) install 2>&1  | $(RUBY) test/make-check-filter.rb
+
+.PHONY: test check check-short rmChangeLog
diff --git a/autogen.sh b/autogen.sh
index cbe8d87..fce38da 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,8 @@
 #!/bin/sh
+# An autoconf setup script.
+# From inside emacs, make sure test-simple is installed and then
+# Press C-x C-e at the end of the next line run this script
+# (test-simple-run "EMACSLOADPATH=%s ./autogen.sh"  (mapconcat 'identity 
load-path ":"))
 ln -fs README.md README
 touch common.mk
 autoreconf -vi && \
diff --git a/test/Makefile.am b/test/Makefile.am
index 1af3c6c..58734fc 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -60,11 +60,13 @@ check-short-elget:
        $(MAKE) check-elget 2>&1  | ruby make-check-filter.rb
 
 test-%.run:
-       (cd $(top_srcdir)/test && $(EMACS) --batch --no-site-file --no-splash 
--load $(@:.run=.el))
+       (cd $(top_srcdir)/test && EMACSLOADPATH=$(EMACSLOADPATH) $(EMACS) 
--batch --no-site-file --no-splash --load $(@:.run=.el))
 
 #: Run tests using el-get to specify external Lisp dependencies
 test-%.elrun:
-       (cd $(top_srcdir)/test && $(EMACS) --batch --no-site-file --no-splash 
--load ../el-get-install.el --load $(@:.elrun=.el))
+       (cd $(top_srcdir)/test && EMACSLOADPATH=$(EMACSLOADPATH) $(EMACS) 
--batch --no-site-file --no-splash --load ../el-get-install.el --load 
$(@:.elrun=.el))
+
+install-lispLISP: $(lisp_LISP) $(ELCFILES)
 
 # Whatever it is you want to do, it should be forwarded to the
 # to top-level directories



reply via email to

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