Fixes to the GWT UI to be able to run it on other machines (still some hardcoded paths in the compilation).

This commit is contained in:
bjorn
2008-09-15 13:49:55 +00:00
parent c2da4129ed
commit b9ec6b089f
2 changed files with 15 additions and 2 deletions

View File

@@ -7,6 +7,9 @@ gf.fcgi:
cabal build
cp dist/build/gf.fcgi/gf.fcgi .
gwt:
gwt-client/Translate-compile
food:
gfc --make --name=grammar ../../examples/tutorial/food/Food{Eng,Ita}.gf
@@ -41,5 +44,16 @@ lang:
gfc $(GFCFLAGS) --make --parser=on --name=LangSwe ../../lib/resource/swedish/LangSwe.gf
gfc $(GFCFLAGS) --name=grammar Lang???.pgf
installball: gf.fcgi gwt
rm -rf gf-server
rm -f gf-server-installball.tar.gz
mkdir gf-server
cp -pr gwt-client/www/se.chalmers.cs.gf.gwt_translate.Translate/* gf-server
mv gf-server/Translate.html gf-server/index.html
cp grammar.pgf gf-server
cp gf.fcgi gf-server
cp README gf-server
tar -zcf gf-server-installball.tar.gz gf-server
clean:
cabal clean