-# $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
xavierbot.pl: xavierbot.pl.in Makefile.config
sed \
-e 's|@WRAPPER@|$(WRAPPER)|' \
+ -e 's|@VERSION@|$(VERSION)|' \
< $< > $@
chmod 0755 $@
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 *~
+# 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: