Commit 62a10ffc authored by jdelange's avatar jdelange
Browse files

* Makefile.common

   - Automatically build the documentation when doxygen is installed



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2710 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent c963c748
...@@ -14,7 +14,7 @@ all: build-node ...@@ -14,7 +14,7 @@ all: build-node
include $(RUNTIME_PATH)/make/Makefile.$(TARGET) include $(RUNTIME_PATH)/make/Makefile.$(TARGET)
-include ../../userdefined.mk -include ../../userdefined.mk
build-node: compile-c-files compile-ada-files compile-node build-node: compile-c-files compile-ada-files compile-node generate-doc
################################################################################ ################################################################################
# Configuration # Configuration
...@@ -303,6 +303,11 @@ clean: target-clean ...@@ -303,6 +303,11 @@ clean: target-clean
rm -rf $(CLEANDIRS); \ rm -rf $(CLEANDIRS); \
fi fi
generate-doc:
if [ -d generated-documentation ]; then rm -rf generated-documentation ; fi
if [ -x `which doxygen` ]; then ` which doxygen` doxygen.cfg ; fi
ifdef USE_GPROF ifdef USE_GPROF
gprof: gprof:
./$(BINARY) ./$(BINARY)
......
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