automake
[Top][All Lists]
Advanced

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

Re: Questions on 'make dist'


From: Ralf Wildenhues
Subject: Re: Questions on 'make dist'
Date: Tue, 11 Mar 2008 22:41:18 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

* NightStrike wrote on Mon, Mar 10, 2008 at 03:42:52PM CET:
> Our project is laid out like this:
> 
> /trunk/
> /trunk/mingw-w64-crt/
> /trunk/mingw-w64-doc/
> /trunk/mingw-w64-headers/

> What is the best way to handle this situation to remove the need to
> manually tar up the trunk?

Move the (top of the) build system up the trunk?  This can be as easy as

cat >configure.ac <<'EOF'
AC_INIT([package], [version], [bug-address])
AM_INIT_AUTOMAKE
AC_CONFIG_SUBDIRS([mingw-w64-crt])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
EOF
echo SUBDIRS = mingw-w64-crt > Makefile.am
autoreconf -vi

though you may probably want to share auxiliary files
(AC_CONFIG_AUX_DIR) with the sub configure.

Cheers,
Ralf




reply via email to

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