doxygen automake integration: make sure the 'doc' directory exists

This commit is contained in:
Harald Welte 2011-08-17 19:41:49 +02:00
parent 7992af0180
commit 02624d2743
1 changed files with 5 additions and 1 deletions

View File

@ -31,18 +31,22 @@ $(doc_html_DATA): $(top_builddir)/doc/core/html/index.html \
$(top_builddir)/doc/core/html/index.html: $(SOURCES) Doxyfile $(top_builddir)/doc/core/html/index.html: $(SOURCES) Doxyfile
rm -rf doc/core rm -rf doc/core
mkdir -p doc/core
$(DOXYGEN) Doxyfile $(DOXYGEN) Doxyfile
$(top_builddir)/doc/gsm/html/index.html: $(SOURCES) Doxyfile.gsm $(top_builddir)/doc/gsm/html/index.html: $(SOURCES) Doxyfile.gsm
rm -rf doc/gsm rm -rf doc/gsm
mkdir -p doc/gsm
$(DOXYGEN) Doxyfile.gsm $(DOXYGEN) Doxyfile.gsm
$(top_builddir)/doc/vty/html/index.html: $(SOURCES) Doxyfile.vty $(top_builddir)/doc/vty/html/index.html: $(SOURCES) Doxyfile.vty
rm -rf doc/vty rm -rf doc/vty
mkdir -p doc/vty
$(DOXYGEN) Doxyfile.vty $(DOXYGEN) Doxyfile.vty
$(top_builddir)/doc/codec/html/index.html: $(SOURCES) Doxyfile.codec $(top_builddir)/doc/codec/html/index.html: $(SOURCES) Doxyfile.codec
rm -rf doc/vty rm -rf doc/codec
mkdir -p doc/codec
$(DOXYGEN) Doxyfile.codec $(DOXYGEN) Doxyfile.codec
install-data-hook: install-data-hook: