doxygen: fix correct use of doc/core subdirectory
diff --git a/Doxyfile.in b/Doxyfile.in
index 692c79a..18eb226 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -51,7 +51,7 @@
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
-OUTPUT_DIRECTORY = doc
+OUTPUT_DIRECTORY = doc/core
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
# 4096 sub-directories (in 2 levels) under the output directory of each output
diff --git a/Makefile.am b/Makefile.am
index 6cb39ea..64f13dd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,7 @@
$(top_builddir)/doc/gsm/html/index.html \
$(top_builddir)/doc/vty/html/index.html \
$(top_builddir)/doc/codec/html/index.html
- cd $(top_builddir)/doc && tar cf html.tar *
+ cd $(top_builddir)/doc && tar cf html.tar */html
$(top_builddir)/doc/core/html/index.html: $(SOURCES) Doxyfile
rm -rf doc/core