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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4702 - (view) (download)

1 : jhr 3906 # Makefile for SML/NJ documentation
2 :     #
3 :     # COPYRIGHT (c) 2014 The Fellowship of SML/NJ (http://www.smlnj.org)
4 :     # All rights reserved.
5 :     #
6 :     # @configure_input@
7 :     #
8 :    
9 : jhr 4702 SHELL = @SHELL@
10 :     INSTALL = @INSTALL@
11 :     @SET_MAKE@
12 :    
13 : jhr 3906 # default target base
14 :     #
15 :     TARGET_BASE = http://smlnj.org
16 :    
17 : jhr 4033 # place to put documentation for doc target
18 : jhr 3906 #
19 : jhr 4033 DOC_DIR = @OUT_DIR@
20 :     HTML_DST_ROOT = $(DOC_DIR)/html
21 :     STYLES_DST = $(HTML_DST_ROOT)/styles # not used yet
22 :     IMAGES_DST = $(HTML_DST_ROOT)/images # not used yet
23 : jhr 3906
24 : jhr 4033 # root path to place generated HTML files for the SML/NJ web site
25 :     #
26 :     WEB_HTMLDST_ROOT = @ROOT_DIR@/htdocs
27 :     WEB_STYLES_DST = $(WEB_HTML_DST_ROOT)/styles
28 :     WEB_IMAGES_DST = $(WEB_HTML_DST_ROOT)/images
29 :    
30 : jhr 3906 include @MK_DIR@/doc-rules.gmk
31 :    
32 : jhr 4702 DOC_SUBDIRS = changelog extensions man manuals
33 : jhr 3906
34 :     STYLE_IN_FILES = $(notdir $(wildcard styles/*.in))
35 :     STYLE_DST_FILES = $(addprefix $(STYLES_DST)/,$(STYLE_IN_FILES:_css.in=.css)))
36 :     IMAGE_FILES = $(notdir $(wildcard images/*.png images/*jpg))
37 :     IMAGE_DST_FILES = $(addprefix $(IMAGES_DST)/,$(IMAGE_FILES))
38 :    
39 : jhr 4033 .PHONY: doc
40 :     doc: $(DOC_DIR) readmes
41 :     (cd man; $(MAKE) man)
42 :     for dir in $(DOC_SUBDIRS) ; do \
43 :     (cd $$dir; $(MAKE) doc); \
44 :     done
45 : jhr 3906
46 : jhr 4033 $(DOC_DIR):
47 :     mkdir -p $(DOC_DIR)
48 : jhr 3906
49 : jhr 4033 # copy the HTML README files into the doc/html/README directory
50 : jhr 3906 #
51 : jhr 4033 .PHONY: readmes
52 :     readmes:
53 :     mkdir -p $(HTML_DST_ROOT)/readme
54 :     cp -p release-notes/*.html $(HTML_DST_ROOT)/readme
55 : jhr 3906
56 :     include @MK_DIR@/clean-rules.gmk
57 :    
58 : jhr 3916 CLEAN_SUBDIRS = $(DOC_SUBDIRS)

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