Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] View of /trunk/doc/config/doc-rules_gmk.in
ViewVC logotype

View of /trunk/doc/config/doc-rules_gmk.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1341 - (download) (annotate)
Thu Mar 20 17:23:26 2014 UTC (3 years, 8 months ago) by jhr
File size: 1500 byte(s)
  Working on documentation
# doc-rules.gmk
#
# COPYRIGHT (c) 2013 The SML3d Project (http://sml3d.cs.uchicago.edu)
# All rights reserved.
#
# common variables and rules for building the SML3d documentation.
#
# @configure_input@
#
# variables to be defined by parent:
#
#    TARGET_BASE	-- the target's base URL (e.g., http://sml3d.cs.uchicago.edu/)
#    DOC_BASE		-- the target document's root URL
#    DST_DIR		-- the location where generated files should be placed

# delete default suffixes to improve make performance
#
.SUFFIXES:

SHELL =			/bin/sh

CONF_DIR =		@SRC_CONFIG_DIR@
IMAGES_URL =		$(DOC_BASE)/images
STYLES_URL =		$(TARGET_BASE)/styles
IMAGES_DST_DIR =	$(DST_DIR)/images
STYLES_DST_DIR =	$(DST_DIR)/styles

# directory for helper scripts
#
DOCBIN_DIR =		@ROOT_DIR@/bin

# source code directories (used to exract signatures)
#
SML3D_SRC_DIR =		@ROOT_DIR@/../sml3d/src
OPENCL_SRC_DIR =	@ROOT_DIR@/../opencl/src

# paths and flags for documentation toolchain
#
ASCIIDOC_CONF_DIR =	@ASCIIDOC_CONF_DIR@

ASCIIDOC =		@ASCIIDOC@
ASCIIDOCFLAGS =		--attribute=lang=en \
			--attribute=sml3d-docbin=$(DOCBIN_DIR) \
			--conf-file=$(CONF_DIR)/sml3d-asciidoc.conf
ASCIIDOCFLAGS_HTML =	-b html5 \
			--attribute=linkcss \
			--attribute=stylesdir=$(STYLES_URL) \
			--attribute=imagesdir=$(IMAGES_URL) \
			--attribute=source-highlighter=pygments \
			--conf-file=$(CONF_DIR)/sml3d-web.conf
ASCIIDOCFLAGS_DOCBOOK45 = -b docbook45

DBLATEX =		@DBLATEX@
DBLATEX_FLAGS =		-t pdf -p $(CONF)/dblatex.xsl -s $(CONF)/dblatex.sty

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