Re #1254 Doxygen configuration and makefile changes to support version specific documentation

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3669 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/Makefile b/Makefile
index 5145993..dcfe0b1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 include build.mak
 include build/host-$(HOST_NAME).mak
 -include user.mak
+include version.mak
 
 DIRS = pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/build $(EXTRA_DIRS)
 
@@ -23,7 +24,7 @@
 		exit 1; \
 	fi
 	for dir in $(DIRS); do \
-		if $(MAKE) $(MAKE_FLAGS) -C $$dir/build $@; then \
+		if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
 		    true; \
 		else \
 		    exit 1; \
@@ -92,7 +93,6 @@
 	cd tests/pjsua && python runall.py
 
 prefix = $(ac_prefix)
-include version.mak
 
 install:
 	mkdir -p $(DESTDIR)$(prefix)/lib