From 06afa8de1ef26eadf3bcb76221f9308744f33930 Mon Sep 17 00:00:00 2001 From: gord-fig Date: Fri, 11 Oct 2002 18:23:35 +0000 Subject: [PATCH] Fix up changebar generation--the order of the Makefile rules matters. --- lustre/doc/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lustre/doc/Makefile.am b/lustre/doc/Makefile.am index fd5a857..a780448 100644 --- a/lustre/doc/Makefile.am +++ b/lustre/doc/Makefile.am @@ -87,13 +87,15 @@ chbar: lustre-chbar.pdf %-chbar.tex: chbar.sh postbar doc.old/%-full.tex %-full.tex $(SHELL) $(srcdir)/chbar.sh doc.old/$*-full.tex $*-full.tex | $(srcdir)/postbar > $@ -%-full.tex: %.tex - $(TEXEXPAND) -texinputs=. -texinputs=$(srcdir) -output=$@ $< - +# This rule needs to come before the next %-full.tex rule. doc.old/lustre.tex: doc.old/lustre-HOWTO.lyx doc.old/%-full.tex: doc.old/%.tex cd doc.old && $(TEXEXPAND) -texinputs=. -output=$*-full.tex $*.tex +# This rule needs to come after the more specific doc.old rule. +%-full.tex: %.tex + $(TEXEXPAND) -texinputs=. -texinputs=$(srcdir) -output=$@ $< + # Check out the old directory if it doesn't exist. doc.old/lustre.lin doc.old/lustre-HOWTO.lin: @if test "X$(OLD)" = X; then \ -- 1.8.3.1