diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-09 00:58:20 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-09 00:58:20 +0000 |
commit | e3eebbc094cbb85923159e61e47fb0d270eee7fa (patch) | |
tree | 607b4c0766de577217a3e3bf9698b52c225afd6d /build/Makefile.common | |
parent | f076f0542eaf3b866731a548d9caffdda1b205b8 (diff) | |
download | libparserutils-e3eebbc094cbb85923159e61e47fb0d270eee7fa.tar.gz libparserutils-e3eebbc094cbb85923159e61e47fb0d270eee7fa.tar.bz2 |
Doxygen-generated API documentation
svn path=/trunk/libparserutils/; revision=6005
Diffstat (limited to 'build/Makefile.common')
-rw-r--r-- | build/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build/Makefile.common b/build/Makefile.common index ca98d27..f1e2f93 100644 --- a/build/Makefile.common +++ b/build/Makefile.common @@ -12,6 +12,7 @@ EXPORT := $(TOP)/dist RELEASEDIR := build/Release DEBUGDIR := build/Debug COVERAGEDIR := build/coverage +DOCDIR := build/docs # List of items to delete on clean ITEMS_CLEAN := @@ -41,7 +42,7 @@ $(eval $(foreach INC, $(MAKE_INCLUDES), $(call do_include,$(INC)))) # Calculate objects to build OBJECTS := $(subst /,_,$(subst .c,.o,$(SOURCES))) -.PHONY: release debug test coverage profile \ +.PHONY: release debug test coverage profile docs \ clean distclean setup export install uninstall # Rules @@ -69,9 +70,13 @@ coverage: clean profile: clean @$(MAKE) test CFLAGS="$(CFLAGS) -pg" LDFLAGS="-pg $(LDFLAGS)" +docs: setup + @$(DOXYGEN) build/Doxyfile + clean: -@$(RM) $(RMFLAGS) $(ITEMS_CLEAN) -@$(RM) $(RMFLAGS) gmon.out + -@$(RM) $(RMFLAGS) -r $(DOCDIR) -@$(RM) $(RMFLAGS) -r $(COVERAGEDIR) -@$(RM) $(RMFLAGS) -r $(RELEASEDIR) -@$(RM) $(RMFLAGS) -r $(DEBUGDIR) @@ -87,6 +92,7 @@ setup: @$(MKDIR) $(MKDIRFLAGS) $(RELEASEDIR)/deps @$(MKDIR) $(MKDIRFLAGS) $(DEBUGDIR)/deps @$(MKDIR) $(MKDIRFLAGS) $(COVERAGEDIR) + @$(MKDIR) $(MKDIRFLAGS) $(DOCDIR) export: @$(MKDIR) $(MKDIRFLAGS) -p $(TOP)/dist |