summaryrefslogtreecommitdiff
path: root/pjlib/build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/build/Makefile')
-rw-r--r--pjlib/build/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pjlib/build/Makefile b/pjlib/build/Makefile
index 68a0c0e6..4d747e10 100644
--- a/pjlib/build/Makefile
+++ b/pjlib/build/Makefile
@@ -55,7 +55,11 @@ export CC_OUT CC AR RANLIB HOST_MV HOST_RM HOST_RMDIR HOST_MKDIR OBJEXT LD LDOUT
all: $(TARGETS)
doc:
- cd .. && doxygen docs/doxygen.cfg
+ cd .. && rm -rf docs/html docs/latex && doxygen docs/doxygen.cfg
+ @if test ! "$(WWWDIR)" == ""; then \
+ echo "Copying to $(WWWDIR)/pjlib/docs/html.." ; \
+ cp -a ../docs/html/* $(WWWDIR)/pjlib/docs/html/ ; \
+ fi
print:
$(MAKE) -f $(RULES_MAK) APP=PJLIB app=pjlib print_lib