X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile;h=a56955edca0bdd6d64885493d58bd20ea3f6f707;hb=5648f9a1f439de689fa51ea8de3833449faf25a1;hp=2570558d8cd395746a94a9c8b41a7d0801e60ab0;hpb=1e6d6c08bec29a317316f107b7d9bde285c1f798;p=xavierbot.git diff --git a/Makefile b/Makefile index 2570558..a56955e 100644 --- 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 @@ -26,6 +26,7 @@ init: init.in Makefile.config xavierbot.pl: xavierbot.pl.in Makefile.config sed \ -e 's|@WRAPPER@|$(WRAPPER)|' \ + -e 's|@VERSION@|$(VERSION)|' \ < $< > $@ 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 $< +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: