Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / perl-5.8.0 / doc / MHonArc / resources / Makefile
CommitLineData
86530b38
AT
1# $Date: 2002/07/27 05:13:10 $
2
3# Where doc scripts are located
4SCRIPT_DIR = ../_helper
5# Root of mhonarc source
6MHA_SRC_DIR = ../..
7
8RCLIST = $(SCRIPT_DIR)/resource.lst
9VARLIST = $(SCRIPT_DIR)/rcvars.lst
10MKTMPLPL = $(SCRIPT_DIR)/mkrestmpl.pl
11ADDVARPL = $(SCRIPT_DIR)/addvartbls.pl
12ADDCTYPEPL = $(SCRIPT_DIR)/addctypetbl.pl
13ADDNAVPL = $(SCRIPT_DIR)/addrcnav.pl
14MHAEXTPL = $(MHA_SRC_DIR)/lib/mhmimetypes.pl
15
16.PHONY: _FORCE
17
18# Pattern rule for HTML files in this directory.
19%.html: _FORCE
20 perl $(ADDVARPL) $(RCLIST) $(VARLIST) $@
21
22default: newrc
23
24all: newrc addvars filters addnav
25
26# Check if any new resources exist and to create template
27# documentation page for any new resources.
28newrc:
29 perl $(MKTMPLPL) $(RCLIST)
30
31# Add resource variable tables.
32addvars:
33 perl $(ADDVARPL) $(RCLIST) $(VARLIST) *.html
34
35# Update content-type list for m2hexternal filter.
36filters:
37 perl $(ADDCTYPEPL) $(MHAEXTPL) mimefilters.html
38
39# Add nav links
40addnav:
41 perl $(ADDNAVPL) *.html
42
43# Bogus target to force a target to be updated.
44_FORCE: