# $Date: 2002/07/27 05:13:10 $
# Where doc scripts are located
RCLIST
= $(SCRIPT_DIR
)/resource.lst
VARLIST
= $(SCRIPT_DIR
)/rcvars.lst
MKTMPLPL
= $(SCRIPT_DIR
)/mkrestmpl.pl
ADDVARPL
= $(SCRIPT_DIR
)/addvartbls.pl
ADDCTYPEPL
= $(SCRIPT_DIR
)/addctypetbl.pl
ADDNAVPL
= $(SCRIPT_DIR
)/addrcnav.pl
MHAEXTPL
= $(MHA_SRC_DIR
)/lib
/mhmimetypes.pl
# Pattern rule for HTML files in this directory.
perl
$(ADDVARPL
) $(RCLIST
) $(VARLIST
) $@
all: newrc addvars filters addnav
# Check if any new resources exist and to create template
# documentation page for any new resources.
perl
$(MKTMPLPL
) $(RCLIST
)
# Add resource variable tables.
perl
$(ADDVARPL
) $(RCLIST
) $(VARLIST
) *.html
# Update content-type list for m2hexternal filter.
perl
$(ADDCTYPEPL
) $(MHAEXTPL
) mimefilters.html
# Bogus target to force a target to be updated.