This commit is contained in:
2025-10-26 20:47:45 +01:00
84 changed files with 12329 additions and 0 deletions
+19
View File
@@ -50,3 +50,22 @@ ifeq ($(OS),Windows_NT)
else
java -cp "$(JAR_NAME):$(LIB_DIR):$(LIB_DIR)/mariadb:$(LIB_DIR)/mariadb/org/mariadb/jdbc" $(MAIN_CLASS)
endif
# === Generate documentation ===
doc:
@echo === Generation de la documentation Javadoc ===
javadoc -d $(DOC_DIR) -encoding UTF-8 -cp "$(LIB_DIR)$(SEP)$(LIB_DIR)/org/mariadb/jdbc" $(SRC_DIR)/*.java
@echo Documentation generee dans le dossier doc/
# === Clean build and docs ===
clean:
@echo === Nettoyage des fichiers compiles ===
ifeq ($(OS),Windows_NT)
$(RM) $(BUILD_DIR)\$(SRC_BUILD)\*.class 2>nul || true
for /d %%i in ($(DOC_DIR)\*) do rmdir /S /Q "%%i" 2>nul || true
$(RM) $(DOC_DIR)\* 2>nul || true
else
$(RM) $(BUILD_DIR)/fr/iutfbleau/papillon/*.class
find $(DOC_DIR) -mindepth 1 -delete 2>/dev/null || true
endif
@echo Nettoyage termine