view doc/manual/DEFS.mk @ 19:db7ff952e01e

both mansupps seem to be html
author David A. Holland
date Tue, 31 May 2022 02:06:45 -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