forked from phaag/nfdump
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue with HAVE_DOXYGEN define
- Loading branch information
1 parent
4bcdc8d
commit 0874edf
Showing
2 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
#if HAVE_DOXYGEN | ||
|
||
directory = $(top_srcdir)/doc | ||
|
||
$(directory)/html: Doxyfile | ||
if HAVE_DOXYGEN | ||
|
||
doxygen-build.stamp: Doxyfile | ||
$(DOXYGEN) Doxyfile | ||
touch $@ | ||
|
||
else | ||
|
||
doxygen-build.stamp: | ||
@echo "*** Doxygen not found. Documentation will not be build." | ||
touch $@ | ||
|
||
endif | ||
|
||
all-local: $(directory)/html | ||
all-local: doxygen-build.stamp | ||
|
||
clean-local: | ||
rm -rf $(directory)/html | ||
rm -rf $(directory)/man | ||
rm -rf $(directory)/xml | ||
rm -f doxygen-build.stamp | ||
rm -rf html | ||
rm -rf man | ||
rm -rf xml | ||
|
||
#endif |