Adjust the dependencies and generate the output to docs/userloc.html so
[oota-llvm.git] / docs / Makefile
index dc1f74cca24a3564ca6e5ef35f957ee88a8d3896..dfdd7ba9fddeb56a16f16cb87562445e98ae030d 100644 (file)
@@ -64,8 +64,10 @@ $(PROJ_OBJ_DIR)/doxygen.tar.gz: $(DOXYFILES) $(PROJ_OBJ_DIR)/doxygen.cfg
        $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/doxygen.tar doxygen
        $(Verb) $(GZIP) $(PROJ_OBJ_DIR)/doxygen.tar
 
-userloc.html:
+userloc: $(LLVM_SRC_ROOT)/docs/userloc.html
+
+$(LLVM_SRC_ROOT)/docs/userloc.html:
        $(Echo) Making User LOC Table
        $(Verb) cd $(LLVM_SRC_ROOT) ; ./utils/userloc.pl -details -recurse \
-         -html lib include tools runtime utils examples autoconf test > userloc.html
+         -html lib include tools runtime utils examples autoconf test > docs/userloc.html