view doc/manual/DEFS.mk @ 8:ec2b657edf13

Add explicit lint-comment-style fallthrough annotations. GCC now assumes that if you don't have these you're making a mistake, which is annoying. XXX: This changeset updates the AG output files only (by hand) and is XXX: abusive - rebuilding them will erase the change. However, I need XXX: to get things to build before I can try to get AG to issue the XXX: annotations itself, so this seems like a reasonable expedient.
author David A. Holland
date Mon, 30 May 2022 23:51:43 -0400
parents 13d2b8934445
children
line wrap: on
line source

TEXFILE=usersguide.tex
DEFSFILE=agdefs.tex
SUBTEXFILES=\
	titlepage.tex \
	intro.tex gs.tex ra.tex isdp.tex \
	xg-i.tex xg-ii.tex xg-iii.tex \
	sf.tex dd.tex \
	cfp.tex wm.tex winsum.tex sbb.tex pcb.tex gl.tex

all: usersguide.pdf

include rules.mk
include $(BUILDTOP)/config.mk
include $(TOP)/mk/installdirs.mk

usersguide.pdf: $(SRCDIR)/usersguide.tex
	@$(SRCDIR)/buildguide.sh

rules:
	@echo $(SUBTEXFILES) | $(SRCDIR)/buildrules.sh > rules.mk

depend:;

install:
	@$(TOP)/mk/mkinstalldirs.sh "$(DOCDIR)"
	@echo '        [CP]      usersguide.pdf'
	@cp usersguide.pdf "$(DOCDIR)/usersguide.pdf"
	@chmod 644 "$(DOCDIR)/usersguide.pdf"

clean distclean:
	rm -f *~ *.log *.aux *.idx *.ilg *.toc *.pdf
	rm -f usersguide.ind 'usersguide.ind}'

agfiles agclean:;

.PHONY: all rules depend install clean distclean agfiles agclean