[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help, automake generated a buggy Makefile?
From: |
Steven Woody |
Subject: |
Re: help, automake generated a buggy Makefile? |
Date: |
Mon, 15 Oct 2007 16:16:20 +0800 |
On 10/15/07, Ralf Wildenhues <address@hidden> wrote:
> Hello Steven,
>
> * Steven Woody wrote on Sun, Oct 14, 2007 at 05:51:45AM CEST:
> >
> > AC_INIT( [ motconv ], [ 0.1 ], [ address@hidden ] )
> > AM_INIT_AUTOMAKE( [ -Wall -Werror foreign ] )
> > AC_PROG_RANLIB
> > AC_PROG_CXX
> > AC_PROG_INSTALL
> > AC_LANG_PUSH([C++])
> > AC_CHECK_HEADERS([limits])
> > AC_LANG_POP
> > AC_CONFIG_HEADER( configure.h )
> > AC_CONFIG_FILES( [ Makefile test/Makefile ])
> > AC_OUTPUT
>
> Please drop all the trailing white space, it makes a difference. That
> is, you should write at most
> AC_INIT([motconv], [0.1], address@hidden)
>
> because right now, the name of your package is " motconv " with version
> " 0.1 ", and so on, and that will lead to subtle issues later. They
> don't have to do with the issue you reported, though.
>
> For that, I can only test it myself later. For now, please post the
> output of "grep -C2 TESTS Makefile.in" of the Makefile.in from which
> AllTests.exe is built, thanks.
>
> Cheers,
> Ralf
>
thanks. below are output of grep -C2 TESTS on Makefile.in,
~/motconv/trunk/test$ grep -C2 TESTS Makefile.in
sysconfdir = @sysconfdir@
target_alias = @target_alias@
TESTS = AllTests
AllTests_SOURCES = \
AllTests.cpp
--
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
check-TESTS: $(TESTS)
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
srcdir=$(srcdir); export srcdir; \
list='$(TESTS)'; \
if test -n "$$list"; then \
for tst in $$list; do \
--
elif test -f $$tst; then dir=; \
else dir="$(srcdir)/"; fi; \
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
*" $$tst "*) \
xpass=`expr $$xpass + 1`; \
--
elif test $$? -ne 77; then \
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
*" $$tst "*) \
xfail=`expr $$xfail + 1`; \
--
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile
--
uninstall-am: uninstall-info-am
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
clean-checkPROGRAMS clean-generic ctags distclean \
distclean-compile distclean-generic distclean-local \
- help, automake generated a buggy Makefile?, Steven Woody, 2007/10/13
- Re: help, automake generated a buggy Makefile?, Ralf Wildenhues, 2007/10/15
- Re: help, automake generated a buggy Makefile?,
Steven Woody <=
- Re: help, automake generated a buggy Makefile?, Ralf Wildenhues, 2007/10/15
- Re: help, automake generated a buggy Makefile?, Steven Woody, 2007/10/15
- Re: help, automake generated a buggy Makefile?, Steven Woody, 2007/10/15
- Re: help, automake generated a buggy Makefile?, Ralf Wildenhues, 2007/10/15
- Re: help, automake generated a buggy Makefile?, Steven Woody, 2007/10/15