summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-11-11 11:05:28 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-11-11 11:05:28 -0500
commit5df7d235ce1d57e9d78e66ee66ab0d3b53ca3fcd (patch)
tree927f97ae480eecffe1a7c1d1f792a84d81a5080b /src
parent36e939d31e8ac8fe2866f996af44ea268447c295 (diff)
Some fixes to build system with dependency-tracking is off; should fix RPM/Debian builds.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rwxr-xr-xsrc/options/mkoptions1
-rw-r--r--src/theory/Makefile.subdirs2
3 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8932af26d..a056c1d84 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -597,4 +597,3 @@ theory/type_enumerator.cpp: theory/type_enumerator_template.cpp theory/mktheoryt
$< \
`cat @top_builddir@/src/theory/.subdirs` \
> $@) || (rm -f $@ && exit 1)
-
diff --git a/src/options/mkoptions b/src/options/mkoptions
index d856c7293..2ff857a2f 100755
--- a/src/options/mkoptions
+++ b/src/options/mkoptions
@@ -1346,6 +1346,7 @@ function output_module {
nl -ba -s' ' "$template" | grep '^ *[0-9][0-9]* # *line' |
awk '{OFS="";if($1+1!=$3) print "'"$template"':",$1,": warning: incorrect annotation \"#line ",$3,"\" (it should be \"#line ",($1+1),"\")"}' >&2
+ mkdir -p "`dirname "$output"`"
cp "$template" "$output.working"
echo -n > "$output.sed"
for var in \
diff --git a/src/theory/Makefile.subdirs b/src/theory/Makefile.subdirs
index bcaef2b87..42582c67f 100644
--- a/src/theory/Makefile.subdirs
+++ b/src/theory/Makefile.subdirs
@@ -1,7 +1,7 @@
$(top_builddir)/src/theory/.subdirs: $(top_srcdir)/src/Makefile.am
+ $(AM_V_at)test -d $(top_builddir)/src/theory || mkdir $(top_builddir)/src/theory
$(AM_V_at)grep '^THEORIES = ' $(abs_top_srcdir)/src/Makefile.am | cut -d' ' -f3- | tr ' ' "\n" | xargs -I__D__ echo $(abs_top_srcdir)/src/theory/__D__/kinds >$(abs_top_builddir)/src/theory/.subdirs.tmp
@if ! diff -q $(abs_top_builddir)/src/theory/.subdirs $(abs_top_builddir)/src/theory/.subdirs.tmp &>/dev/null; then \
echo " GEN " $@; \
$(am__mv) $(abs_top_builddir)/src/theory/.subdirs.tmp $(abs_top_builddir)/src/theory/.subdirs; \
fi
-
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback