blob: 9082ad4d8575ef9a5f19694f19b9df8869dc37ab [file] [log] [blame]
mike-me2c3a492010-05-07 00:28:04 +00001##===- docs/tutorial/Makefile ------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9
10LEVEL := ../..
11include $(LEVEL)/Makefile.common
12
13HTML := $(wildcard $(PROJ_SRC_DIR)/*.html)
14EXTRA_DIST := $(HTML) index.html
15HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial
16
17install-local:: $(HTML)
18 $(Echo) Installing HTML Tutorial Documentation
19 $(Verb) $(MKDIR) $(HTML_DIR)
20 $(Verb) $(DataInstall) $(HTML) $(HTML_DIR)
21 $(Verb) $(DataInstall) $(PROJ_SRC_DIR)/index.html $(HTML_DIR)
22
23uninstall-local::
24 $(Echo) Uninstalling Tutorial Documentation
25 $(Verb) $(RM) -rf $(HTML_DIR)
26
27printvars::
28 $(Echo) "HTML : " '$(HTML)'