view doc/misc/html/DEFS.mk @ 20:bb115deb6fb2

Improve agfiles rule. (1) It didn't depend on $(AGCL) and it absolutely should have. (2) allow AGFORCE=1 to make it rebuild whether or not it looks out of date. (3) Document this.
author David A. Holland
date Mon, 13 Jun 2022 00:02:15 -0400 (2022-06-13)
parents 13d2b8934445
children
line wrap: on
line source
include $(BUILDTOP)/config.mk
include $(TOP)/mk/installdirs.mk

FILES=\
	filetr6d.gif \
	ftrace.html \
	gloss.html \
	gramtr6g.gif \
	gtrace.html \
	index.html \
	isdp.html \
	start.html \
	summary.html \
	ugcont.html

all rules depend clean distclean agfiles agclean:;

install:
	@$(TOP)/mk/mkinstalldirs.sh "$(DOCDIR)/html"
	@echo '        [CP]      $(FILES)'
	@cp `(cd $(SRCDIR) && ls *.html *.gif) | sed 's,^,$(SRCDIR)/,'` \
		"$(DOCDIR)/html/"
	@(cd "$(DOCDIR)/html/" && chmod 644 *.html *.gif)


.PHONY: all rules depend install clean distclean agfiles agclean