[build] Update docs profile paths
[mono.git] / docs / Makefile.am
index 9c514420403427864d1c3e36e808f0371b6c01c4..bb90f1f20019cc4d19c08a843d38fbccc27a6fda 100644 (file)
@@ -54,6 +54,10 @@ EXTRA_DIST = \
        TODO                    \
        unmanaged-calls 
 
+-include $(mcs_topdir)/build/config.make
+
+CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)
+
 dist-hook:
        $(mkdir_p)  $(distdir)/sources
        $(mkdir_p)  $(distdir)/svgs
@@ -89,14 +93,14 @@ mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/depl
 deploy/.stamp: convert.exe Makefile.am 
        $(mkdir_p) html
        runtimedir=`cd ../runtime && pwd`; export runtimedir; \
-       MONO_PATH=../mcs/class/lib/net_4_5 perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
+       MONO_PATH=$(CLASS) perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
        touch $@
 
 extract: deploy/.stamp
 
 convert.exe: convert.cs AgilityPack.dll
-       $(TOOL_MAKE) PROFILE=net_4_5 convert.exe
+       $(TOOL_MAKE) convert.exe
 
 AgilityPack.dll: 
-       $(TOOL_MAKE) PROFILE=net_4_5 AgilityPack.dll
+       $(TOOL_MAKE) AgilityPack.dll