add some build/run instructions, fix makefile code, and ignore some files

This commit is contained in:
deltreey
2024-06-21 12:38:27 -05:00
parent 9c6c73a73b
commit 5610201fc8
3 changed files with 145 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ From NWN base:
racialtypes.2da
all race_feat_*.2da
all cls_*.2da
all *.tlk
From the PRC:
@@ -72,4 +73,23 @@ above.
See codegen_example -directory for example template and 2das. To see the
results from it, run (replace \ with / if not running on windoze)
java CodeGen exa_ codegen_example\example.nss codegen_example\Foo.2da codegen_example\Bar.2da
java CodeGen exa_ codegen_example\example.nss codegen_example\Foo.2da codegen_example\Bar.2da
## Build Docs
As it currently goes, this seems to run best on windows (`xcopy` is required). There is a makefile, but xcopy + make
are not cooperating with each other, so here are the commands to build the docs.
```commandline
xcopy "Main Manual Files" manual /iey
java -Xmx300m -Xms300m -cp "imageio_tga_1.1.0.jar;." prc/autodoc/Main
java -jar DocGen.jar manual
```
## Testing the Site
You'll want to use a server to host the docs so you can load them correctly. I like python for this
```commandline
python -m http.server
```

View File

@@ -1,6 +1,6 @@
COMPILER = javac
FLAGS = -Xlint:all -g -source 11 -target 11
RUNPARAMS = -Xmx300m -Xms300m -cp imageio_tga_1.1.0.jar\;
RUNPARAMS = -Xmx300m -Xms300m -cp "imageio_tga_1.1.0.jar\;."
TARGET = prc/*.java \
prc/autodoc/*.java \
prc/utils/*.java \