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/changelog/Makefile.in
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4033 - (download) (annotate)
Sun Dec 21 17:24:30 2014 UTC (5 years, 1 month ago) by jhr
File size: 928 byte(s)
  tweaking documentation build process
# Makefile for SML/NJ Changelog
#
# COPYRIGHT (c) 2014 The Fellowship of SML/NJ (http://www.smlnj.org)
# All rights reserved.
#
# @configure_input@
#

SHELL =		@SHELL@
INSTALL =	@INSTALL@
@SET_MAKE@

ASCIIDOC =	@ASCIIDOC@

SMLNJ_VERSION =	@SMLNJ_VERSION@
SMLNJ_DATE =	@SMLNJ_DATE@

HTML_OUT_DIR =	@OUT_DIR@/html
WEB_OUT_DIR =	@WEB_OUT_DIR@

ATTRS =		--attribute=version=$(SMLNJ_VERSION) \
		--attribute=releasedate="$(SMLNJ_DATE)" \
		--attribute=source-highlighter=pygments

TXT_FILES =	HISTORY.txt

HTML =		$(TXT_FILES:.txt=.html)

# build rule for generating the distribution documentation
#
.PHONY:	doc
doc:		html
		mkdir -p $(HTML_OUT_DIR)
		cp -p $(HTML) $(HTML_OUT_DIR)

.PHONY:	html
html:		$(HTML)

%.html : %.txt
	$(ASCIIDOC) $(ATTRS) $(CONF) -b html5 $<

#################### Cleanup ####################

CLEAN_SUBDIRS =

CLEAN_FILES =

DISTCLEAN_FILES +=	Makefile \
			$(HTML)

include @ROOT_DIR@/mk/clean-rules.gmk

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