[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New documentation targets (pdf & txt)
From: |
Derek R. Price |
Subject: |
Re: New documentation targets (pdf & txt) |
Date: |
Mon, 22 Oct 2001 13:38:50 -0400 |
"Derek R. Price" wrote:
> Tom Tromey wrote:
>
> > >>>>> "Derek" == Derek R Price <address@hidden> writes:
> >
> > Derek> test it, but it looks like info targets can only be created in
> > Derek> leaf dirs - or rather, not when SUBDIRS has any content.
> >
> > Could you write a test case for this?
>
> No. Or rather yes, I can, but it passes. It seems I didn't understand
Here's the test in case you want it anyhow.
2001-10-22 Derek Price <address@hidden>
* tests/info2.test: New test.
Derek
--
Derek Price CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden CollabNet ( http://collab.net )
--
Take my advice, I don't use it anyway.
#! /bin/sh
# Test to make sure info files are noticed when subdirs are present
. $srcdir/defs || exit 1
$needs_gnu_make
cat > configure.in << 'END'
AC_INIT
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_OUTPUT(Makefile sdir/Makefile)
END
cat > Makefile.am << 'END'
SUBDIRS = sdir
info_TEXINFOS = foo.texi
END
mkdir sdir
echo >sdir/Makefile.am
echo '@setfilename foo.info' > foo.texi
: > texinfo.tex
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
$AUTOCONF || exit 1
./configure || exit 1
$MAKE info |grep -w foo\\.texi || exit 1
exit 0