git.annexia.org
/
xavierbot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.7
[xavierbot.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
2570558
..
a56955e
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,4
@@
-# $Id: Makefile,v 1.
2 2007/06/28 20:49:10
rjones Exp $
+# $Id: Makefile,v 1.
4 2007/06/29 21:43:21
rjones Exp $
include Makefile.config
include Makefile.config
@@
-26,6
+26,7
@@
init: init.in Makefile.config
xavierbot.pl: xavierbot.pl.in Makefile.config
sed \
-e 's|@WRAPPER@|$(WRAPPER)|' \
xavierbot.pl: xavierbot.pl.in Makefile.config
sed \
-e 's|@WRAPPER@|$(WRAPPER)|' \
+ -e 's|@VERSION@|$(VERSION)|' \
< $< > $@
chmod 0755 $@
< $< > $@
chmod 0755 $@
@@
-33,9
+34,19
@@
pa_noexternal.cmo: pa_noexternal.ml
ocamlfind ocamlc \
-pp "camlp4o pa_extend.cmo q_MLast.cmo" -I +camlp4 -c $<
ocamlfind ocamlc \
-pp "camlp4o pa_extend.cmo q_MLast.cmo" -I +camlp4 -c $<
+test check:
+ perl -Tc xavierbot.pl
+
clean:
rm -f ocamlbotwrapper *.o *.cmo *.cmi *~
clean:
rm -f ocamlbotwrapper *.o *.cmo *.cmi *~
+# Use this if you want to run without installing (see also
+# instructions in Makefile.config):
+
+permissions:
+ chown root.root ocamlbotwrapper
+ chmod ug+s ocamlbotwrapper
+
# Distribution.
dist:
# Distribution.
dist: