44# Copyright (C) 1987,1990,1993,2000 Silvio Levy and Donald E. Knuth
55#
66# Modified for GCC under Linux by Andreas Scherer, June 8, 1996.
7- # Last updated by Andreas Scherer, August 2022 .
7+ # Last updated by Andreas Scherer, August 2023 .
88
99# The following copyright notice extends to the changes in this Makefile
1010# only, not to any part of the original CWEB distribution.
1111#
12- # Copyright (C) 1994, 1996, 2000, 2005, 2022 Andreas Scherer
12+ # Copyright (C) 1994, 1996, 2000, 2005, 2022-2023 Andreas Scherer
1313
1414# Permission is granted to make and distribute verbatim copies of this
1515# document provided that the copyright notice and this permission notice
@@ -193,7 +193,7 @@ PATCH = common.$(EXTENSION) ctangle.$(EXTENSION) README.txt Makefile.unix \
193193 cwebbin.spec examples/wmerge.dsp ctangle.1 cweave.1 ctwill.md \
194194 refsort.1 twinx.1 refsort.ch twinx.ch \
195195 LICENSE README.md texlive.w system.bux \
196- common.bux comm-mini.ch ctwill.bux ctwill-mini.ch
196+ common.bux comm-mini.ch ctwill.bux ctwill-mini.ch ctwill-hint.ch
197197
198198EXAMPLES = examples/cct.w examples/commonwords.w examples/extex-ansi.ch \
199199 examples/Makefile.sas examples/matrix.w examples/primes.ch \
@@ -356,7 +356,7 @@ fullmanual: usermanual $(SOURCES) \
356356 $(CWEAVE) cweave.w ctwill-doc.ch ctwill; $(MAKE) ctwill.pdf
357357
358358cwebbin.tex: cwebman.tex $(DCHANGES)
359- $(TIE) -m $@ $^; $(SUBVER)
359+ $(TIE) -m $@ $^ && $(SUBVER)
360360 $(SED_I) -e "1,90 s/\(CWEBbin\)/\\\\.{\1}/" \
361361 -e "91,$$ s/\(CWEBbin\)/\\\\\\\\.\\\\{\1\\\\}/" $@
362362
@@ -365,16 +365,16 @@ cwebbin.tex: cwebman.tex $(DCHANGES)
365365# change files listed above are actually used here, so you won't see
366366# any system-dependent parts not available under UNIX.
367367comm-doc.ch: common.w $(CCHANGES) comm-man.ch comm-newpage.ch
368- $(TIE) -c $@ $^; $(SUBVER)
368+ $(TIE) -c $@ $^ && $(SUBVER)
369369 $(SED_I) -e "1,20 s/\(CWEBbin\)/\\\\.{\1}/" $@
370370ctang-doc.ch: ctangle.w $(TCHANGES) ctang-man.ch ctang-newpage.ch
371- $(TIE) -c $@ $^; $(SUBVER)
371+ $(TIE) -c $@ $^ && $(SUBVER)
372372 $(SED_I) -e "1,20 s/\(CWEBbin\)/\\\\.{\1}/" $@
373373cweav-doc.ch: cweave.w $(WCHANGES) cweav-man.ch cweav-newpage.ch
374- $(TIE) -c $@ $^; $(SUBVER)
374+ $(TIE) -c $@ $^ && $(SUBVER)
375375 $(SED_I) -e "1,20 s/\(CWEBbin\)/\\\\.{\1}/" $@
376376ctwill-doc.ch: cweave.w $(LCHANGES) ctwill-man.ch
377- $(TIE) -c $@ $^; $(SUBVER)
377+ $(TIE) -c $@ $^ && $(SUBVER)
378378 $(SED_I) -e "1,40 s/\(CWEBbin\)/\\\\.{\1}/" $@
379379
380380# for making the documentation we will have to include the change files
@@ -396,23 +396,23 @@ common.tex: common.w $(CCHANGES)
396396# the resulting sources to Amiga (or MS/DOS).
397397$(CCHANGES): common.w comm-patch.ch comm-extensions.ch \
398398 comm-output.ch comm-i18n.ch # comm-texlive.ch
399- $(TIE) -c $@ $^; $(SUBVER)
399+ $(TIE) -c $@ $^ && $(SUBVER)
400400$(HCHANGES): common.h comm-extensions.hch \
401401 comm-output.hch comm-i18n.hch # comm-texlive.hch
402402 $(TIE) -m $@ $^
403403$(TCHANGES): ctangle.w ctang-patch.ch ctang+u.ch \
404404 ctang-output.ch ctang-i18n.ch # ctang-texlive.ch
405- $(TIE) -c $@ $^; $(SUBVER)
405+ $(TIE) -c $@ $^ && $(SUBVER)
406406$(WCHANGES): cweave.w cweav-patch.ch cweav-extensions.ch \
407407 cweav-output.ch cweav-i18n.ch # cwtw-texlive.ch cweav-texlive.ch
408- $(TIE) -c $@ $^; $(SUBVER)
408+ $(TIE) -c $@ $^ && $(SUBVER)
409409$(LCHANGES): cweave.w cweav-patch.ch cweav-extensions.ch \
410410 cweav-output.ch cweav-i18n.ch \
411411 cweav-twill.ch # cwtw-texlive.ch ctwill-texlive.ch
412- $(TIE) -c $@ $^; $(SUBVER)
412+ $(TIE) -c $@ $^ && $(SUBVER)
413413$(DCHANGES): cwebman.tex cwebman-patch.ch \
414414 cwebman-extensions.ch # cwebman-texlive.ch
415- $(TIE) -c $@ $^; $(SUBVER)
415+ $(TIE) -c $@ $^ && $(SUBVER)
416416
417417# be sure to leave ctangle.$(EXTENSION) and common.$(EXTENSION)
418418# for bootstrapping
@@ -434,6 +434,7 @@ install: all
434434 $(INSTALL) cweave $(DESTDIR)$(BINDIR)/$(DESTPREF)weave
435435 $(INSTALL) ctwill $(DESTDIR)$(BINDIR)/$(DESTPREF)twill
436436 $(INSTALL) refsort $(DESTDIR)$(BINDIR)/refsort
437+ $(INSTALL) proofsort $(DESTDIR)$(BINDIR)/proofsort
437438 $(INSTALL) twinx $(DESTDIR)$(BINDIR)/twinx
438439
439440 $(INSTALL) -m 644 cweb.1 $(DESTDIR)$(MANDIR)/cweb.$(MANEXT)
0 commit comments