Files
magic/doc/Makefile.in
T
Darryl L. MilesandClaude Opus 4.8 d2650e4833 build: convert nested children + rewire parent recursion to native
Convert the last nested children to Makefile.in and switch their parents
from the -f fallback to native recursion (they now have generated build
Makefiles).  Rename and rewire are one unit: a pure rename would break the
parent's -f path to the (now-.in) child.

Converted (5): scmos/cif_template, doc/man, doc/tutcells, doc/html,
doc/latexfiles.  Pure renames -- still build via the srcdir derivation;
@srcdir@ substitution follows.

Rewired to native `make -C <child>` (config.status now creates the child
build dirs + Makefiles):
* scmos/Makefile.in: cif_template build + clean.
* doc/Makefile.in: install/install-tcl over man/tutcells/html/latexfiles.
* Makefile.in: the docs: target -> `make -k -C doc/latexfiles all`.
The `mkdir -p` and `-f ${MAGICSRC}/.../Makefile` are dropped in each.

* configure.in: AC_CONFIG_FILES for the 5 children; regenerated configure.
* .gitignore: ignore each generated child Makefile, same commit.

Verified out-of-tree: full `make && make install` rc=0, 376 files --
scmos recurses natively into cif_template (8 objs), docs regenerate via
native doc/latexfiles (27/28), man pages install via native doc/man.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-07-26 14:54:11 -04:00

61 lines
1.5 KiB
Makefile

#
# makefile for Magic documentation
#
# Provided by configure: the module's source dir + the build top.
# defs.mak sees `srcdir` already set and skips its own srcdir derivation.
srcdir = @srcdir@
VPATH = @srcdir@
MAGICDIR = @top_builddir@
PSDIR = psfiles
include ${MAGICDIR}/defs.mak
PRINTER=verlag
TROFF=ditroff -P${PRINTER}
TTROFF=ditroff -Ppsc -t
PSDIT=psdit
GRN=grn -Ppsc
TBL=tbl -Ppsc
EQN=eqn -Ppsc
DOC_SUBDIRS = latexfiles man tutcells html
install-tcl:
for dir in ${DOC_SUBDIRS}; do \
${MAKE} -C $$dir install; done
install:
for dir in ${DOC_SUBDIRS}; do \
${MAKE} -C $$dir install; done
print_only: force
lpr -h ${PSDIR}/copyright.ps
lpr -h ${PSDIR}/tofc.ps
lpr -h ${PSDIR}/introduction.ps
lpr -h ${PSDIR}/tut1.ps
lpr -h ${PSDIR}/tut2.ps
lpr -h ${PSDIR}/tut3.ps
lpr -h ${PSDIR}/tut4.ps
lpr -h ${PSDIR}/tut5.ps
lpr -h ${PSDIR}/tut6.ps
lpr -h ${PSDIR}/tut7.ps
lpr -h ${PSDIR}/tut8.ps
lpr -h ${PSDIR}/tut9.ps
lpr -h ${PSDIR}/tut10.ps
lpr -h ${PSDIR}/tut11.ps
lpr -h ${PSDIR}/maint1.ps
lpr -h ${PSDIR}/maint2.ps
lpr -h ${PSDIR}/maint3.ps
lpr -h ${PSDIR}/maint4.ps
lpr -h ${PSDIR}/otherreports.ps
lpr -h ${PSDIR}/Addendum6.5.ps
print: postscript print_only
postscript: copyright.ps introduction.ps tofc.ps tut1.ps tut2.ps tut3.ps \
tut4.ps tut5.ps tut6.ps tut7.ps tut8.ps tut9.ps tut10.ps tut11.ps \
maint1.ps maint2.ps maint3.ps maint4.ps Addendum6.5.ps
cd nmos; make postscript PRINTER=psc "PSDIT=${PSDIT}"
cd scmos; make postscript PRINTER=psc "PSDIT=${PSDIT}"