projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace deprecated luaL_openlib() by luaL_register()
[apps/madmutt.git]
/
configure
diff --git
a/configure
b/configure
index
bc74eab
..
a7398f3
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-12,7
+12,6
@@
do_makefile() {
*) echo "cannot guess deepness of '$dir'"; exit 1
esac
echo "all %: ; @\$(MAKE) -s -C $rel/build/$dir \$*" > $dir/Makefile
*) echo "cannot guess deepness of '$dir'"; exit 1
esac
echo "all %: ; @\$(MAKE) -s -C $rel/build/$dir \$*" > $dir/Makefile
- echo "-include \$(wildcard *.mk)" >> $dir/Makefile
}
find . -name CMakeLists.txt | while read file; do do_makefile $file; done
}
find . -name CMakeLists.txt | while read file; do do_makefile $file; done
@@
-20,10
+19,13
@@
find . -name CMakeLists.txt | while read file; do do_makefile $file; done
builddir=.build-$(hostname)-$(gcc -dumpmachine)-$(gcc -dumpversion)
rm -rf $builddir
mkdir -p $builddir
builddir=.build-$(hostname)-$(gcc -dumpmachine)-$(gcc -dumpversion)
rm -rf $builddir
mkdir -p $builddir
-ln -s $builddir build
+rm -f build && ln -s $builddir build
+rm -f madmutt && ln -s $builddir/madmutt madmutt
if test $# -eq 0; then
if test $# -eq 0; then
- cd $builddir && cmake -DWITH_NNTP=1 -DWITH_IDN=1 -DUSE_HCACHE=1 -DWITH_LIBESMTP=1 --with-prefix=/usr ..
+ (cd $builddir && cmake -DWITH_NNTP=1 -DWITH_IDN=1 -DUSE_HCACHE=1 -DCMAKE_INSTALL_PREFIX=/usr ..)
else
else
- cd $builddir && cmake "$@" ..
+ (cd $builddir && cmake "$@" ..)
fi
fi
+
+make -C tools