summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-09-08 20:06:25 -0400
committerDaniel De Graaf <danieldg@inspircd.org>2010-09-08 20:21:17 -0400
commitb157bcdbbc799a05e2801bd9b1f64797dc3c6a57 (patch)
treed4a90ad95165a6b94de4d8d24906182746986bc5
parentbdf42d61259476c362590b9ccfb2feea33f72329 (diff)
Recreate the build/include symlink so that changing the build location works as expected
-rwxr-xr-xmake/calcdep.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index 45fdfc03c..16d05bf00 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -19,6 +19,7 @@ sub run() {
my $build = $ENV{BUILDPATH};
mkdir $build;
chdir $build or die "Could not open build directory: $!";
+ unlink 'include';
symlink "$ENV{SOURCEPATH}/include", 'include';
mkdir $_ for qw/bin modules obj/;
# BSD make has a horribly annoying bug resulting in an extra chdir of the make process