mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
Estimated hours taken: 2 Improve the w3 module in various ways. Makefile: Makefile.common: include/download.inc: Small update about Debian package. include/functions.inc: include/index.inc: include/latest_news.inc: include/news.inc: include/old_news.inc: include/template.inc: news/newsdb.inc: New news handling facility. information/Makefile: information/notes/Mmakefile: Fix a few problems with having nested cvs directories.
53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
#-----------------------------------------------------------------------------#
|
|
# Copyright (C) 1996-1997 The University of Melbourne.
|
|
# This file may only be copied under the terms of the GNU General
|
|
# Public License - see the file COPYING in the Mercury distribution.
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# Mmake - Mmake file for the Mercury documentation.
|
|
|
|
MAIN_TARGET=all
|
|
|
|
MERCURY_DIR=../..
|
|
include $(MERCURY_DIR)/Mmake.common
|
|
|
|
INSTALL_WEB_SUBDIR=$(INSTALL_WEBDIR)/developer
|
|
|
|
HTML_TO_TEXT=lynx -dump
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
.SUFFIXES: .html .text
|
|
|
|
.html.text:
|
|
$(HTML_TO_TEXT) $< > $@
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
DOCS_TEXT=allocation.text authors.text coding_standards.text \
|
|
compiler_design.text gc_and_c_code.text glossary.text \
|
|
module_system.text release_checklist.text reviews.text todo.text
|
|
DOCS_HTML=allocation.html authors.html coding_standards.html \
|
|
compiler_design.html gc_and_c_code.html glossary.html \
|
|
module_system.html release_checklist.html reviews.html todo.html
|
|
DOCS_ALL=$(DOCS_TEXT) $(DOCS_HTML)
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
.PHONY: all
|
|
all: $(DOCS_ALL)
|
|
|
|
# This install is for installing the Mercury webpage, which goes to
|
|
# a different directory (supplied by the environment variable
|
|
# INSTALL_WEBDIR).
|
|
|
|
.PHONY: install
|
|
install: $(DOCS_ALL)
|
|
[ -d $(INSTALL_WEB_SUBDIR) ] || mkdir -p $(INSTALL_WEB_SUBDIR)
|
|
cp $(DOCS_ALL) $(INSTALL_WEB_SUBDIR)
|
|
|
|
clean:
|
|
rm -f $(DOCS_TEXT)
|
|
|
|
#-----------------------------------------------------------------------------#
|