1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #!/bin/sh
- # Script to do refactoring of duma.. (put all files in extra subfolders to
- # make it somewhat more organized ;-)
- # planned folder structure:
- #
- # contrib/ <-- contribution: serveral bash/gdb scripts
- # contrib/debian <-- debian files? outdated!
- # contrib/ebuild <-- gentoo files?
- # contrib/rpm <-- rpm spec file?
- #
- # doc/ <-- documentation goes here
- # doc/comparisons/ <-- copy of JP Martin's site
- #
- # include/ <-- headers go in here
- # include/duma/ <-- duma headers go in here
- # include/dumadetours/ <-- dumadetours headers go in here
- #
- # lib/ <-- compiled (shared) libs
- # obj/ <-- compiled objects
- #
- # src/ <-- sources go in here
- # src/libduma/ <-- duma sources go in here
- #### src/dumadetours/ <-- dumadetours sources go in here. --- not necessary
- # test/ <-- test programs used to check the integrity of duma
- # go in here
- # examples/ <-- example code
- # examples/cpp <-- C++ examples
- # examples/C <-- C examples (TODO ?)
- # prj/ <-- project files
- # win32-*, codeblocks, later: eclipse
- #
- mkdir contrib
- mv gdbinit.rc contrib/
- mv duma.sh contrib/
- mv builddocs.bat contrib/
- mv mkclean.bat contrib/
- mkdir doc
- mv README.txt doc/
- mv INSTALL doc/
- mv CHANGELOG doc/
- mv TODO doc/
- mv duma.3 doc/
- mv WIN32_DETOURS_HOWTO.txt doc/
- mv comparisons doc/
- mkdir include
- mkdir include/duma
- mv noduma.h include/duma/
- mv duma.h include/duma/
- mv dumapp.h include/duma/
- mv duma_sem.h include/duma/
- mv duma_config.h include/duma/
- # mkdir include/dumadetours
- mkdir lib
- mkdir obj
- mkdir src
- mkdir src/libduma
- mv duma.c src/libduma/
- mv duma_hlp.h src/libduma/
- mv paging.h src/libduma/
- mv print.h src/libduma/
- mv print.c src/libduma/
- mv sem_inc.c src/libduma/
- mv dumapp.cpp src/libduma/
- mkdir src/conf
- mv createconf.c src/conf/
- mv stacktrace src/
- mkdir examples
- mkdir examples/cpp
- mv example*cpp examples/cpp/
- mkdir prj
- mv win32-* prj/
- mv codeblocks prj/
|