mike-m | e2c3a49 | 2010-05-07 00:28:04 +0000 | [diff] [blame] | 1 | ##===- 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 | |
| 10 | LEVEL := ../.. |
| 11 | include $(LEVEL)/Makefile.common |
| 12 | |
| 13 | HTML := $(wildcard $(PROJ_SRC_DIR)/*.html) |
Bill Wendling | 9cabfa6 | 2011-10-16 08:24:30 +0000 | [diff] [blame^] | 14 | PNG := $(wildcard $(PROJ_SRC_DIR)/*.png) |
mike-m | e2c3a49 | 2010-05-07 00:28:04 +0000 | [diff] [blame] | 15 | EXTRA_DIST := $(HTML) index.html |
| 16 | HTML_DIR := $(DESTDIR)$(PROJ_docsdir)/html/tutorial |
| 17 | |
| 18 | install-local:: $(HTML) |
| 19 | $(Echo) Installing HTML Tutorial Documentation |
| 20 | $(Verb) $(MKDIR) $(HTML_DIR) |
| 21 | $(Verb) $(DataInstall) $(HTML) $(HTML_DIR) |
Bill Wendling | 9cabfa6 | 2011-10-16 08:24:30 +0000 | [diff] [blame^] | 22 | $(Verb) $(DataInstall) $(PNG) $(HTML_DIR) |
mike-m | e2c3a49 | 2010-05-07 00:28:04 +0000 | [diff] [blame] | 23 | $(Verb) $(DataInstall) $(PROJ_SRC_DIR)/index.html $(HTML_DIR) |
| 24 | |
| 25 | uninstall-local:: |
| 26 | $(Echo) Uninstalling Tutorial Documentation |
| 27 | $(Verb) $(RM) -rf $(HTML_DIR) |
| 28 | |
| 29 | printvars:: |
| 30 | $(Echo) "HTML : " '$(HTML)' |