summaryrefslogtreecommitdiff
path: root/pjnath/build/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pjnath/build/Makefile')
-rw-r--r--pjnath/build/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pjnath/build/Makefile b/pjnath/build/Makefile
index 9292ba59..3322d73b 100644
--- a/pjnath/build/Makefile
+++ b/pjnath/build/Makefile
@@ -78,7 +78,11 @@ TARGETS := pjnath pjnath-test pjturn-client pjturn-srv
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)/pjnath/docs/html.." ; \
+ cp -a ../docs/html/* $(WWWDIR)/pjnath/docs/html/ ; \
+ fi
dep: depend
distclean: realclean