]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Makefile
preparation for javascripts
[Rakka.git] / Makefile
index 41fe0529b92f99840db482cc72ad072f02127119..99956d437dc23cd454f3257387863f7fd8cdbc80 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,19 @@
 CABAL_FILE = Rakka.cabal
 GHC        = ghc
-EXECUTABLE = ./dist/build/Rakka/rakka
+EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG
 
 build: .setup-config Setup
+       $(MAKE) -C js $@
        ./Setup build
 
 run: build
-       @echo ".:.:. Let's go .:.:."
        $(EXECUTABLE)
 
+rebuild-index: build
+       $(EXECUTABLE) --rebuild-index
+
 .setup-config: $(CABAL_FILE) configure Setup Rakka.buildinfo.in
-       ./Setup configure
+       BUILD_TEST_SUITE=yes ./Setup configure
 
 configure: configure.ac
        autoconf
@@ -23,7 +26,10 @@ clean:
        find . -name '*~' -exec rm -f {} \;
 
 install: build
-       ./Setup install
+       sudo ./Setup install
+
+test: build
+       ./Setup test
 
 sdist: Setup
        ./Setup sdist