[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to handle new subdirectories?
From: |
Eric Blake |
Subject: |
Re: how to handle new subdirectories? |
Date: |
Wed, 03 Mar 2010 05:54:32 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
According to Steffen Dettmer on 3/3/2010 4:31 AM:
> I have a new dir with dir/configure.in and added it to
> ./configure.in's AC_CONFIG_SUBDIRS([dir]).
You may want to consider renaming all of those to configure.ac instead.
That has been the recommended practice for several years now.
> In Makefile.am I have
> address@hidden@ admin
Have you tried automake conditionals, along the lines of:
SUBDIRS=
if BUILD_SUBDIR
SUBDIRS += subdir
endif
SUBDIRS += admin
so that you are passing literal subdir names to SUBDIRS rather than values
substituted at configure time? The automake manual has a node on
conditional subdirectories.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature