autoconf
[Top][All Lists]
Advanced

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

chmod-ing AC_OUTPUT files


From: David Fang
Subject: chmod-ing AC_OUTPUT files
Date: Wed, 5 Oct 2005 19:46:27 -0400 (EDT)

Hi all,
        I have a configure.ac whose tail end looks something like:

--------- begin snip -------------
AC_CONFIG_FILES([
        myscript.sh
        ])
AC_OUTPUT

chmod +x myscript.sh
--------- end snip ---------------

(I've got a "myscript.sh.in".)

... which results in an executable script on configuration, however,
anytime autoreconf is run automatically (not in maintainer mode), the
chmod part of configure.ac doesn't execute, leaving a non-executable
"myscript.sh".  I usually manually re-run configure -C to fix this, but is
there a `proper' way of hooking some post-reconf script/actions to
autoreconf?  There's *gotta* be something simple here, but I thought I'd
throw the question out before I concoct some dirty hack.

Thanks in advance!

David Fang





reply via email to

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