The web site uses this
[oota-llvm.git] / docs / Makefile
index 92ba96107ca5ed988a850bdc6ec0a0a5bf245845..d7442d9d361666779b2c3daf284762468801278c 100644 (file)
 LEVEL      := ..
 DIRS       := CommandGuide
 
+ifdef BUILD_FOR_WEBSITE
+PROJ_OBJ_DIR = .
+DOXYGEN = doxygen
+
+doxygen.cfg: doxygen.cfg.in
+       cat $< | sed 's/@abs_top_srcdir@/../g' | sed 's/@DOT@/dot/g' | \
+        sed 's/@PACKAGE_VERSION@/CVS/g' | sed 's/@abs_top_builddir@/../g' > $@
+endif
+
 include $(LEVEL)/Makefile.common
 
 HTML       := $(wildcard $(PROJ_SRC_DIR)/*.html) \