summaryrefslogtreecommitdiff
path: root/fixincludes/configure
diff options
context:
space:
mode:
Diffstat (limited to 'fixincludes/configure')
-rw-r--r--fixincludes/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/fixincludes/configure b/fixincludes/configure
new file mode 100644
index 000000000..197f4488c
--- /dev/null
+++ b/fixincludes/configure
@@ -0,0 +1,7 @@
+# copy template makefile
+src_dir=$(dirname $0)
+cp $src_dir/Makefile.in Makefile
+
+# update makefile
+sed -i -e 's#@src_dir@#'$src_dir'#g' Makefile
+