From: Ari Johnson Date: Wed, 12 Jan 2011 20:37:11 +0000 (+0000) Subject: Change order of events in preparedist.sh X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=3a603fdd914569e3d22e7e83672a83827bb18919;p=cobramush.git Change order of events in preparedist.sh --- diff --git a/utils/preparedist.sh b/utils/preparedist.sh index d39ac42..f0e2ad0 100644 --- a/utils/preparedist.sh +++ b/utils/preparedist.sh @@ -16,15 +16,26 @@ chmod 755 utils/make_access_cnf.sh chmod 755 utils/update-cnf.pl chmod 755 utils/update.pl -# Step 2: run metaconfig +# Step 2: create auto-generated source/header files +echo "Generating source and header files..." +cd src +swig -o mushlua_wrap.c -lua mushlua.i +cd .. + +perl utils/mkcmds.pl all +mv hdrs/cmds.h win32/ +mv hdrs/switches.h win32/ +mv hdrs/funs.h win32/ + +# Step 3: run metaconfig echo "Running metaconfig to generate Configure and config_h.SH..." metaconfig -M -# Step 3: generate changes.txt +# Step 4: generate changes.txt echo "Generating changes.txt..." ( cd game/txt && ruby genchanges.rb ) -# Step 4: index help files +# Step 5: index help files echo "Indexing help, news, and events..." cd game/txt for i in hlp nws evt ; do @@ -36,14 +47,3 @@ done cd ../.. -# Step 5: create auto-generated source/header files -echo "Generating source and header files..." -cd src -swig -o mushlua_wrap.c -lua mushlua.i -cd .. - -perl utils/mkcmds.pl all -mv hdrs/cmds.h win32/ -mv hdrs/switches.h win32/ -mv hdrs/funs.h win32/ -