@ -429,6 +429,8 @@ _clean:
rm -f doc/core-en_US.xml
rm -f doc/full-en_US.xml
rm -f doc/rest-api/*.wiki
rm -f doxygen.log
rm -rf latex
rm -f rest-api-templates/*.pyc
@$( MAKE) -C menuselect clean
cp -f .cleancount .lastclean
@ -445,6 +447,7 @@ distclean: $(SUBDIRS_DIST_CLEAN) _clean
rm -f include/asterisk/autoconfig.h
rm -f include/asterisk/buildopts.h
rm -rf doc/api
rm -f doc/asterisk-ng-doxygen
rm -f build_tools/menuselect-deps
datafiles : _all doc /core -en_US .xml
@ -763,7 +766,8 @@ webvmail:
@echo " +-------------------------------------------+"
progdocs :
# Note, Makefile conditionals must not be tabbed out. Wasted hours with that.
# Note, Makefile conditionals must not be tabbed out. Wasted hours with that.
@cp doc/asterisk-ng-doxygen.in doc/asterisk-ng-doxygen
ifeq ($(DOXYGEN), : )
@echo "Doxygen is not installed. Please install and re-run the configuration script."
e l s e
@ -771,20 +775,20 @@ ifeq ($(DOT),:)
@echo "DOT is not installed. Doxygen will not produce any diagrams. Please install and re-run the configuration script."
e l s e
# Enable DOT
@echo "HAVE_DOT = YES" >> contrib /asterisk-ng-doxygen
@echo "HAVE_DOT = YES" >> doc /asterisk-ng-doxygen
e n d i f
# Set Doxygen PROJECT_NUMBER variable
i f n e q ( $( ASTERISKVERSION ) , U N K N O W N _ _ a n d _ p r o b a b l y _ u n s u p p o r t e d )
@echo " PROJECT_NUMBER = $( ASTERISKVERSION) " >> contrib /asterisk-ng-doxygen
@echo " PROJECT_NUMBER = $( ASTERISKVERSION) " >> doc /asterisk-ng-doxygen
e l s e
echo "Asterisk Version is unknown, not configuring Doxygen PROJECT_NUMBER."
e n d i f
# Validate Doxygen Configuration
@doxygen -u contrib /asterisk-ng-doxygen
# Validate and auto-update local copy
@doxygen -u doc /asterisk-ng-doxygen
# Run Doxygen
@doxygen contrib /asterisk-ng-doxygen
@doxygen doc /asterisk-ng-doxygen
# Remove configuration backup file
@rm -f contrib /asterisk-ng-doxygen.bak
@rm -f doc /asterisk-ng-doxygen.bak
e n d i f
install-logrotate :