summaryrefslogtreecommitdiff
path: root/src/options
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/options
parent36e939d31e8ac8fe2866f996af44ea268447c295 (diff)
Some fixes to build system with dependency-tracking is off; should fix RPM/Debian builds.
Diffstat (limited to 'src/options')
-rwxr-xr-xsrc/options/mkoptions1
1 files changed, 1 insertions, 0 deletions
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 \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback