guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 134/437: Correct make distcheck.


From: Andy Wingo
Subject: [Guile-commits] 134/437: Correct make distcheck.
Date: Mon, 2 Jul 2018 05:14:02 -0400 (EDT)

wingo pushed a commit to branch lightning
in repository guile.

commit e6f1df7124f6061f123881300560cf1899bf140b
Author: pcpa <address@hidden>
Date:   Mon Dec 3 07:26:40 2012 -0200

    Correct make distcheck.
    
    2012-12-03 Paulo Andrade <address@hidden>
    
        * configure.ac, check/Makefile.am, check/check.sh,
        doc/Makefile.am, include/lightning/Makefile.am,
        lib/Makefile.am: Correct make distcheck.
---
 ChangeLog                     |  6 ++++++
 check/Makefile.am             |  4 ++--
 check/check.sh                |  2 +-
 check/run-test                |  2 +-
 configure.ac                  | 12 +++++++++---
 doc/Makefile.am               |  3 ---
 include/lightning/Makefile.am | 16 ++++++++++++++--
 lib/Makefile.am               |  2 +-
 8 files changed, 34 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b65011a..5985a8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-03 Paulo Andrade <address@hidden>
+
+       * configure.ac, check/Makefile.am, check/check.sh,
+       doc/Makefile.am, include/lightning/Makefile.am,
+       lib/Makefile.am: Correct make distcheck.
+
 2012-12-02 Paulo Andrade <address@hidden>
 
        * lib/jit_ppc.c: Assign copyright ownership to FSF.
diff --git a/check/Makefile.am b/check/Makefile.am
index bb4ec40..6445b6e 100644
--- a/check/Makefile.am
+++ b/check/Makefile.am
@@ -32,7 +32,7 @@ EXTRA_DIST =                          \
        divi.tst        divi.ok         \
        fib.tst         fib.ok          \
        rpn.tst         rpn.ok          \
-       check.sh                        \
+       check.sh        run-test        \
        all.tst
 
 TESTS = 3to2 add allocai bp divi fib rpn
@@ -41,7 +41,7 @@ CLEANFILES = $(TESTS)
 
 # Not so pretty but good for a prototype
 $(TESTS):      check.sh
-       $(LN_S) check.sh $@
+       $(LN_S) $(srcdir)/check.sh $@
 
 TESTS_ENVIRONMENT=$(srcdir)/run-test
 
diff --git a/check/check.sh b/check/check.sh
index 54e48c6..edf1f21 100755
--- a/check/check.sh
+++ b/check/check.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-./lightning `basename $0`
+./lightning $srcdir/`basename $0`.tst
diff --git a/check/run-test b/check/run-test
index 931abc7..288be5b 100755
--- a/check/run-test
+++ b/check/run-test
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-./lightning $1.tst | tr -d \\r > $1.log
+$1 | tr -d \\r > $1.log
 if cmp -s $srcdir/$1.ok $1.log; then
   rm $1.log
 else
diff --git a/configure.ac b/configure.ac
index 1d8dd3e..bac8e05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,13 +58,19 @@ fi
 
 cpu=
 case "$target_cpu" in
-    i?x86|x86_64)      cpu=x86 ;;
-    *)                         ;;
+    i?x86|x86_64)      cpu=x86         ;;
+    *arm*)             cpu=arm         ;;
+    *mips*)            cpu=mips        ;;
+    *ppc*)             cpu=ppc         ;;
+    *)                                 ;;
 esac
 if test x$cpu = x; then
     AC_MSG_ERROR([cpu $target_cpu not supported])
 fi
-AM_CONDITIONAL(cpu_x86, [test cpu-$cpu = cpu-x86])
+AM_CONDITIONAL(cpu_arm,  [test cpu-$cpu = cpu-arm])
+AM_CONDITIONAL(cpu_mips, [test cpu-$cpu = cpu-mips])
+AM_CONDITIONAL(cpu_ppc,  [test cpu-$cpu = cpu-ppc])
+AM_CONDITIONAL(cpu_x86,  [test cpu-$cpu = cpu-x86])
 
 AC_SUBST([LIGHTNING_CFLAGS])
 
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b53a4aa..3baca2d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,6 +1,3 @@
-TEXI2DVI=$(top_srcdir)/m4/texi2dvi
-HELP2MAN = $(top_srcdir)/m4/help2man
-
 info_TEXINFOS = lightning.texi 
 EXTRA_TEXINFOS = u-lightning.texi p-lightning.texi
 MOSTLYCLEANFILES = lightning.tmp
diff --git a/include/lightning/Makefile.am b/include/lightning/Makefile.am
index ab5b2f3..94aadcd 100644
--- a/include/lightning/Makefile.am
+++ b/include/lightning/Makefile.am
@@ -12,12 +12,24 @@
 # GNU General Public License for more details.
 #
 
-includedir = $(includedir)/lightning
+lightning_includedir = $(includedir)/lightning
 
 EXTRA_DIST =           \
        jit_private.h
 
+if cpu_arm
+lightning_include_HEADERS =    \
+       jit_arm.h
+endif
+if cpu_mips
+lightning_include_HEADERS =    \
+       jit_mips.h
+endif
+if cpu_ppc
+lightning_include_HEADERS =    \
+       jit_ppc.h
+endif
 if cpu_x86
-include_HEADERS =      \
+lightning_include_HEADERS =    \
        jit_x86.h
 endif
diff --git a/lib/Makefile.am b/lib/Makefile.am
index c4464cd..2b28377 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -25,7 +25,7 @@ EXTRA_DIST =                  \
        jit_arm.c               \
        jit_arm-cpu.c           \
        jit_arm-swf.c           \
-       jit_x86-vfp.c           \
+       jit_arm-vfp.c           \
        jit_mips.c              \
        jit_mips-cpu.c          \
        jit_mips-fpu.c          \



reply via email to

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