Permalink
Browse files

Buildsystem update part 1

- Emakefile builds src/*
- Emakefile includes /usr/lib/ejabberd/include where the
  ejabberd includes are located on debian
- build.sh checks for ebin directory and creates one if neccessary
Committer: Hans Freitag <zem@fnordpol.de>
  • Loading branch information...
1 parent f527611 commit cbf4e60f0edec239625712ffeba20707f7c6245e Hans Freitag committed Feb 5, 2010
Showing with 6 additions and 1 deletion.
  1. +5 −1 Emakefile
  2. +1 −0 build.sh
View
@@ -1 +1,5 @@
-{'src/ejabberd_ircd', [{outdir, "ebin"},{i,"../../ejabberd-dev/trunk/include"}]}.
+{'src/*', [
+ {outdir, "ebin"},
+ {i,"../../ejabberd-dev/trunk/include"},
+ {i,"/usr/lib/ejabberd/include"}
+]}.
View
@@ -1,2 +1,3 @@
#!/bin/sh
+if [ ! -d ebin ] ; then mkdir ebin ; fi
erl -pa ../../ejabberd-dev/trunk/ebin -pz ebin -make

0 comments on commit cbf4e60

Please sign in to comment.