repo.or.cz
/
MonkeyD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog
|
commit
| commitdiff |
tree
|
edit
|
fork
raw
|
patch
(parent:
320235c
)
Plugins loader autoconfigutarion
author
Eduardo Silva
<edsiper@gmail.com>
Tue, 29 Sep 2009 06:30:13 +0000 (
02:30
-0400)
committer
Eduardo Silva
<edsiper@gmail.com>
Tue, 29 Sep 2009 06:30:13 +0000 (
02:30
-0400)
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index
6232bd1
..
98d9555
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-327,9
+327,13
@@
create_makefile_plugins()
cat > Makefile <<EOF
all:
EOF
+ dir=`pwd`
+ echo -n > ../../conf/plugins.load;
for i in $list;
- do echo "\t@(cd $i && make && cd ..)" >> Makefile;
- done
+ do
+ echo "\t@(cd $i && make && cd ..)" >> Makefile;
+ echo "LoadPlugin $dir/$i/monkey-$i.so" >> ../../conf/plugins.load;
+ done
}
# Creando include/info.h