[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to specify Makefile in configure.ac for private (factory only) d
From: |
Russ Allbery |
Subject: |
Re: How to specify Makefile in configure.ac for private (factory only) directory? |
Date: |
Wed, 13 Jan 2010 13:42:56 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
rjbriody <address@hidden> writes:
> I am specifying my Makefiles in configure.ac:
> AC_CONFIG_FILES([Makefile
> private/Makefile])
> However, I remove the private directory during "make dist". This causes a
> ./configure in the distributed package to fail because private/Makefile.in
> does not exist. How do I add flexibility for directories to configure.ac?
Does:
AS_IF([test -d private], [AC_CONFIG_FILES([private/Makefile])])
work? (You can have multiple AC_CONFIG_FILES invocations.)
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>