3 PRUNENAME=gpsprune_19.2
4 # remove compile directory
6 # remove dist directory
8 # create compile directory
12 # TODO: If your java3d libraries are not under /usr/share/java, please edit the following line with the correct path
13 javac -d compile -cp /usr/share/java/vecmath.jar:/usr/share/java/j3dutils.jar:/usr/share/java/j3dcore.jar $( find src -name "*.java" -print )
14 # add other required resources
15 cp -r src/tim/prune/lang compile/tim/prune/
16 cp -r src/tim/prune/*.txt compile/tim/prune/
17 cp -r src/tim/prune/gui/images compile/tim/prune/gui/
18 cp src/tim/prune/function/srtm/srtmtiles.dat compile/tim/prune/function/srtm
19 mkdir compile/tim/prune/function/srtm/viewfinder/
20 cp src/tim/prune/function/srtm/viewfinder/tiles.dat compile/tim/prune/function/srtm/viewfinder/
24 jar cfm dist/${PRUNENAME}.jar buildtools/MANIFEST.MF -C compile .