autoconf
[Top][All Lists]
Advanced

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

Re: distcheck missing files


From: Kip Warner
Subject: Re: distcheck missing files
Date: Mon, 20 May 2013 19:36:37 -0700

On Mon, 2013-05-20 at 23:25 +0100, Gavin Smith wrote:
> > As far as I know, it isn't being conditionally modified. Here's the
> > Makefile.am:
> >
> >   <http://pastebin.com/Ck57h01T>
> 
> You have
> 
> # Manually add these things to distribution package when dist target is run...
> EXTRA_DIST =
> Authors         \
> Copying         \
> Install         \
> News            \
> ReadMe          \
>     Tests           \
> ToDo
> 
> (Sorry, the whitespace is being mangled somehow when I copy and paste.)
> 
> I believe you should have a backslash ("\") at the end of the first
> line, or otherwise move the "Authors" line up to be on the first line.

Great eye, Gavin. The damn missing character demon was at it again.
Indeed, I found the little bugger's work buried within the
RecoveryTest.sh target as well (missing quotation).

Two other questions, which I suppose one is an automake question, but
you might be able to help me with.

The first one is if I use AC_CONFIG_AUX_DIR([AutomakeAuxiliary]) in my
configure.ac, how do I get the generated makefile to remove the
directory once done? I already have the following in my Makefile.am, but
it only cleans out the contents of the directory, but leaves the latter.

MAINTAINERCLEANFILES =                          \
        $(srcdir)/AutomakeAuxiliary/config.h.in     \
        $(srcdir)/AutomakeAuxiliary/config.guess    \
        $(srcdir)/AutomakeAuxiliary/config.rpath    \
        $(srcdir)/AutomakeAuxiliary/config.sub      \
        $(srcdir)/AutomakeAuxiliary/depcomp         \
        $(srcdir)/AutomakeAuxiliary/install-sh      \
        $(srcdir)/AutomakeAuxiliary/missing         \
        $(srcdir)/AutomakeAuxiliary                 \
...

Lastly, at the end of my ./configure, I'd like to output a general
summary of parameters the build will be created with. One of those is
whether NLS was enabled. Is there a way to check for $enable_nls without
having to manually define it like so?

    # Native language support...
    AC_ARG_ENABLE([nls],
        [AS_HELP_STRING([--disable-nls],
            [do not use native language support @<:@default: yes@:>@])],
        [enable_nls=${enableval}], 
        [enable_nls=yes])

Thanks a lot,

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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