Skip to content
Snippets Groups Projects
Commit 06afa8de authored by gord-fig's avatar gord-fig
Browse files

Fix up changebar generation--the order of the Makefile rules matters.

parent ee11179f
No related branches found
No related tags found
No related merge requests found
...@@ -87,13 +87,15 @@ chbar: lustre-chbar.pdf ...@@ -87,13 +87,15 @@ chbar: lustre-chbar.pdf
%-chbar.tex: chbar.sh postbar doc.old/%-full.tex %-full.tex %-chbar.tex: chbar.sh postbar doc.old/%-full.tex %-full.tex
$(SHELL) $(srcdir)/chbar.sh doc.old/$*-full.tex $*-full.tex | $(srcdir)/postbar > $@ $(SHELL) $(srcdir)/chbar.sh doc.old/$*-full.tex $*-full.tex | $(srcdir)/postbar > $@
%-full.tex: %.tex # This rule needs to come before the next %-full.tex rule.
$(TEXEXPAND) -texinputs=. -texinputs=$(srcdir) -output=$@ $<
doc.old/lustre.tex: doc.old/lustre-HOWTO.lyx doc.old/lustre.tex: doc.old/lustre-HOWTO.lyx
doc.old/%-full.tex: doc.old/%.tex doc.old/%-full.tex: doc.old/%.tex
cd doc.old && $(TEXEXPAND) -texinputs=. -output=$*-full.tex $*.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. # Check out the old directory if it doesn't exist.
doc.old/lustre.lin doc.old/lustre-HOWTO.lin: doc.old/lustre.lin doc.old/lustre-HOWTO.lin:
@if test "X$(OLD)" = X; then \ @if test "X$(OLD)" = X; then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment