only touch user_doc if doxygen installed

If doxygen isn't installed, an empty file called user_doc will be created.
If doxygen is later installed, the documentation will not generate correctly.
This commit is contained in:
David Adam (zanchey) 2012-06-18 00:29:11 +08:00 committed by ridiculousfish
parent 71f8960ef1
commit 6681f3bfec

View file

@ -337,8 +337,7 @@ prof:
user_doc: $(HDR_FILES_SRC) Doxyfile.user user_doc.head.html $(HELP_SRC)
$(MAKE) doc.h $(HDR_FILES)
- doxygen Doxyfile.user
touch user_doc
- doxygen Doxyfile.user && touch user_doc
#