Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dim
committed
Jul 20, 2002
1 parent
2f9e538
commit 124fd62
Showing
23 changed files
with
3,285 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Make the html files from the chords one | ||
OPT = -W | ||
INC = ./inc | ||
CC = erlc | ||
|
||
SRC=$(wildcard src/*.erl) | ||
TMP=$(wildcard src/*~) $(wildcard inc/*~) | ||
TARGET=$(addsuffix .beam, $(basename $(addprefix ebin/, $(notdir $(SRC))))) | ||
EMAKE = $(addsuffix \'., $(addprefix \'../, $(SRC))) | ||
|
||
all: $(TARGET) | ||
|
||
# used to generate the erlang Emakefile | ||
emake: | ||
@echo $(EMAKE) | tr -s ' ' '\n' > ebin/Emakefile | ||
|
||
clean: | ||
-rm -f $(TARGET) $(TMP) | ||
|
||
ebin/%.beam: src/%.erl | ||
$(CC) $(OPT) -I $(INC) -o ebin $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
This is manderlbot, an attempt to write an irc bot in erlang, with a XML | ||
based configuration. | ||
|
||
To use it, install erlang, then xmerl-0.15 | ||
http://www.erlang.org/user.html#xmerl-0.15 | ||
|
||
On my system this means install the compiled files in | ||
/usr/lib/erlang/lib/xmerl-0.15 | ||
|
||
To start manderlbot, simply launch erlang shell | ||
erl | ||
> application:start(manderlbot). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Behaviours | ||
Fortune | ||
On logue quelques ligne et sur demande on fortune les dernieres | ||
n lignes demand�s... | ||
|
||
Rumeur | ||
Avec un nick en argument, raconte des choses | ||
|
||
Config | ||
DTD | ||
Behaviours lists, inheritance | ||
|
||
Others | ||
Do regexp matchings case independant (Lower/Upper case) |
Oops, something went wrong.