diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-05-03 21:31:55 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-05-03 21:31:55 +0000 |
commit | 0a408cf7648b9b57f9b84ea1e7efa486eb0c2ceb (patch) | |
tree | 879ac7f773d0831d50ab34ea3c9ec77fc6026b7b /src/theory/Makefile.subdirs | |
parent | 2673b70e8d31d42b4e2b7ec7d2edd3f28b1dac14 (diff) |
theory detection fixes; fixes build breakage when you delete build directories
Diffstat (limited to 'src/theory/Makefile.subdirs')
-rw-r--r-- | src/theory/Makefile.subdirs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/Makefile.subdirs b/src/theory/Makefile.subdirs index bcc7db1c5..0dfba2449 100644 --- a/src/theory/Makefile.subdirs +++ b/src/theory/Makefile.subdirs @@ -1,6 +1,6 @@ -$(top_srcdir)/src/theory/.subdirs: $(top_srcdir)/src/theory/Makefile.am - $(AM_V_at)grep '^SUBDIRS = ' $(top_srcdir)/src/theory/Makefile.am | cut -d' ' -f3- | tr ' ' "\n" | xargs -i__D__ echo $(top_srcdir)/src/theory/__D__/kinds >$(top_srcdir)/src/theory/.subdirs.tmp - @if ! diff -q $(top_srcdir)/src/theory/.subdirs $(top_srcdir)/src/theory/.subdirs.tmp &>/dev/null; then \ +$(top_builddir)/src/theory/.subdirs: $(top_srcdir)/src/theory/Makefile.am + $(AM_V_at)grep '^SUBDIRS = ' $(top_srcdir)/src/theory/Makefile.am | cut -d' ' -f3- | tr ' ' "\n" | xargs -i__D__ echo $(top_srcdir)/src/theory/__D__/kinds >$(top_builddir)/src/theory/.subdirs.tmp + @if ! diff -q $(top_builddir)/src/theory/.subdirs $(top_builddir)/src/theory/.subdirs.tmp &>/dev/null; then \ echo " GEN " $@; \ - $(am__mv) $(top_srcdir)/src/theory/.subdirs.tmp $(top_srcdir)/src/theory/.subdirs; \ + $(am__mv) $(top_builddir)/src/theory/.subdirs.tmp $(top_builddir)/src/theory/.subdirs; \ fi |