]> git.mxchange.org Git - simgear.git/blobdiff - mksymlinks.sh
Minor tidying up of interface.
[simgear.git] / mksymlinks.sh
index f742e6824fb1aa2bb7c3fe77e454c530af64167d..311f8a9f0c6aec58f9a6f426cca742e61ee1caf5 100755 (executable)
@@ -4,22 +4,39 @@ echo ""
 echo "running $0 to rebuild simgear include links"
 
 # toast the old directory
-rm -rf simgear
-mkdir simgear
+rm -rf src/simgear
+mkdir src/simgear
+mkdir src/simgear/bucket
+mkdir src/simgear/debug
+mkdir src/simgear/math
+mkdir src/simgear/misc
+mkdir src/simgear/screen
+mkdir src/simgear/serial
+mkdir src/simgear/xgl
+mkdir src/simgear/zlib
 
 # build new links
-ln -s ../include/compiler.h simgear/compiler.h
-ln -s ../include/constants.h simgear/constants.h
-ln -s ../debug/debug_types.h simgear/debug_types.h
-ln -s ../math/fg_memory.h simgear/fg_memory.h
-ln -s ../include/fg_traits.hxx simgear/fg_traits.hxx
-ln -s ../math/fg_types.hxx simgear/fg_types.hxx
-ln -s ../include/fg_zlib.h simgear/fg_zlib.h
-ln -s ../misc/fgpath.hxx simgear/fgpath.hxx
-ln -s ../debug/logstream.hxx simgear/logstream.hxx
-ln -s ../math/mat3.h simgear/mat3.h
-ln -s ../bucket/newbucket.hxx simgear/newbucket.hxx
-ln -s ../math/point3d.hxx simgear/point3d.hxx
-ln -s ../math/polar3d.hxx simgear/polar3d.hxx
-ln -s ../xgl/xgl.h simgear/xgl.h
-ln -s ../misc/zfstream.hxx simgear/zfstream.hxx
+ln -s ../include/compiler.h src/simgear/compiler.h
+ln -s ../include/constants.h src/simgear/constants.h
+ln -s ../include/fg_traits.hxx src/simgear/fg_traits.hxx
+ln -s ../include/fg_zlib.h src/simgear/fg_zlib.h
+ln -s ../include/version.h src/simgear/version.h
+
+ln -s ../../bucket/newbucket.hxx src/simgear/bucket/newbucket.hxx
+
+ln -s ../../debug/debug_types.h src/simgear/debug/debug_types.h
+ln -s ../../debug/logstream.hxx src/simgear/debug/logstream.hxx
+
+ln -s ../../math/fg_memory.h src/simgear/math/fg_memory.h
+ln -s ../../math/fg_types.hxx src/simgear/math/fg_types.hxx
+ln -s ../../math/point3d.hxx src/simgear/math/point3d.hxx
+ln -s ../../math/polar3d.hxx src/simgear/math/polar3d.hxx
+
+ln -s ../../misc/fgpath.hxx src/simgear/misc/fgpath.hxx
+ln -s ../../misc/fgstream.hxx src/simgear/misc/fgstream.hxx
+ln -s ../../misc/zfstream.hxx src/simgear/misc/zfstream.hxx
+
+ln -s ../../xgl/xgl.h src/simgear/xgl/xgl.h
+
+ln -s ../../zlib/zlib.h src/simgear/zlib/zlib.h
+ln -s ../../zlib/zconf.h src/simgear/zlib/zconf.h