Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /doc/trunk/src/Makefile.in
ViewVC logotype

View of /doc/trunk/src/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4066 - (download) (annotate)
Fri Jun 5 16:09:48 2015 UTC (4 years, 2 months ago) by jhr
File size: 1358 byte(s)
  adding documentation for SML/NJ language extensions
# Makefile for SML/NJ documentation
#
# COPYRIGHT (c) 2014 The Fellowship of SML/NJ (http://www.smlnj.org)
# All rights reserved.
#
# @configure_input@
#

# default target base
#
TARGET_BASE =		http://smlnj.org

# place to put documentation for doc target
#
DOC_DIR =		@OUT_DIR@
HTML_DST_ROOT =		$(DOC_DIR)/html
STYLES_DST =		$(HTML_DST_ROOT)/styles  # not used yet
IMAGES_DST =		$(HTML_DST_ROOT)/images  # not used yet

# root path to place generated HTML files for the SML/NJ web site
#
WEB_HTMLDST_ROOT =	@ROOT_DIR@/htdocs
WEB_STYLES_DST =	$(WEB_HTML_DST_ROOT)/styles
WEB_IMAGES_DST =	$(WEB_HTML_DST_ROOT)/images

include @MK_DIR@/doc-rules.gmk

DOC_SUBDIRS =		changelog extensions man

STYLE_IN_FILES =	$(notdir $(wildcard styles/*.in))
STYLE_DST_FILES =	$(addprefix $(STYLES_DST)/,$(STYLE_IN_FILES:_css.in=.css)))
IMAGE_FILES =		$(notdir $(wildcard images/*.png images/*jpg))
IMAGE_DST_FILES =	$(addprefix $(IMAGES_DST)/,$(IMAGE_FILES))

.PHONY:		doc
doc:		$(DOC_DIR) readmes
		(cd man; $(MAKE) man)
		for dir in $(DOC_SUBDIRS) ; do \
		  (cd $$dir; $(MAKE) doc); \
		done

$(DOC_DIR):
	mkdir -p $(DOC_DIR)

# copy the HTML README files into the doc/html/README directory
#
.PHONY:		readmes
readmes:
	mkdir -p $(HTML_DST_ROOT)/readme
	cp -p release-notes/*.html $(HTML_DST_ROOT)/readme

include @MK_DIR@/clean-rules.gmk

CLEAN_SUBDIRS =	$(DOC_SUBDIRS)


root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0