Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit cbf4e60f0edec239625712ffeba20707f7c6245e 1 parent f527611
Hans Freitag authored
Showing with 6 additions and 1 deletion.
  1. +5 −1 Emakefile
  2. +1 −0  build.sh
View
6 Emakefile
@@ -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  build.sh
@@ -1,2 +1,3 @@
#!/bin/sh
+if [ ! -d ebin ] ; then mkdir ebin ; fi
erl -pa ../../ejabberd-dev/trunk/ebin -pz ebin -make
Please sign in to comment.
Something went wrong with that request. Please try again.