Commit 025df003 authored by Johnny Jazeix's avatar Johnny Jazeix

Modification du Makefile (ajout d'options cleanall et la doc compile

toute la doc pas que le doxygen).
Readme modifié en conséquence.
Début de modification du script (a valider)
parent c5c265fe
......@@ -31,7 +31,7 @@ PROJECT_NAME = ViTE
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = 3.0
PROJECT_NUMBER = 1.0
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
......
......@@ -9,29 +9,17 @@ sudo apt-get install libqt4-dev libqt4-opengl-dev libglut3-dev
sudo apt-get install libglew-dev
For Doxygen, it necessary to have epstopdf for the latex version. You can install it with the package texlive-extra-utils.
For Doxygen, it is necessary to have epstopdf for the latex version. You can install it with the package texlive-extra-utils.
Also, install the dot program for graphics from the package graphviz.
Then, until Qt development files are installed, you can compile ViTE :
./configure will configure your Makefile depending on your OS.
make build -> the first time you compile the project. Compiled files are placed in "bin" folder. (not possible yet and not necessary, just use make)
make -> if you have ever done "make build". Compiled files are placed in "bin" folder.
make doc -> generates the documentation of the source code.
make tests -> to compile test files. Compiled files are placed in "bin" folder. (not possible yet)
make will create the binary files
make debugs -> to compile ViTE with debug informations. Compiled files are placed in "debug" folder. (not possible yet)
make doc will generate the doxygen documentation for developpers. These files will be placed in the documentation folder.
make clean -> remove object files generated by the compiler.
/!\ WARNING : use "make debugs" or "make tests" with a "s" and NOT "make debug"
or "make test" !
......@@ -55,11 +55,14 @@ fi
@echo "Compilation completed! File created in 'bin' folder."
@echo " "
DOC = ../documentation/
doc:
doxygen Doxyfile
make -C \$(DOC)/user_manual
make -C \$(DOC)/technical_manual
@echo " "
@echo "Documentation generated successfully!"
@echo "Please open index.html in '../documentation/html' folder for a web documentation, or use 'make' in the '../documentation/latex' folder for a pdf documentation."
@echo "It could be find in the \$(DOC) folder."
@echo " "
clean:
......@@ -69,6 +72,12 @@ clean:
@echo " "
cleanall: clean
make -C \$(DOC)/user_manual cleanall
make -C \$(DOC)/technical_manual cleanall
@(cd bin/ && rm -rf vite)
@(cd ../documentation/ && rm -rf html/ latex/)
#To remember how to create automaticaly a src.pro
#build:
# cd ./src && qmake-qt4 -project "RESOURCES= vite.qrc" "OBJECTS_DIR=../bin" "DESTDIR=../bin" "CONFIG+=uitools" "QT+=opengl" "LIBS += -lglut" && qmake-qt4 -makefile -o Makefile src.pro && make
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment