Changes in / [04821de:63db8fd7]
- Location:
- doc/theses/mike_brooks_MMath/content/string
- Files:
-
- 3 added
- 1 deleted
- 1 edited
-
Makefile (modified) (2 diffs)
-
sharing-demo.cfa (deleted)
-
sharing-demo.cfa.liquid (added)
-
sharing-demo.json (added)
-
sharing-demo.tex.liquid (added)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/content/string/Makefile
r04821de r63db8fd7 9 9 Build = ${BuildBase}/string 10 10 11 # (plg2 has gem) 12 # gem install --user-install liquid 13 # gem install --user-install liquid-cli 14 Liquid = ~/.gem/ruby/2.7.0/bin/liquid 15 11 16 CFA = ../../../../../../build/driver/cfa 12 17 13 DEMOS = ${add prefix $(Build)/, ${addsuffix -demo.tex, \18 DEMOS = ${addsuffix -demo, \ 14 19 sharing \ 15 } }20 } 16 21 17 22 EZDEMOS = ${addsuffix -ezdemo, \ … … 22 27 all: $(DEMOS) $(EZDEMOS) 23 28 29 # removing the echo rule body means the rule doesn't fire 30 %-demo: $(Build)/%-demo.tex %-demo-runok | $(Build) 31 @echo target $@ made 32 24 33 %-ezdemo: %-ezdemo-runok | $(Build) 25 34 @echo target $@ made 35 36 %-demo-runok: $(Build)/%-demo | $(Build) 37 $< 26 38 27 39 %-ezdemo-runok: $(Build)/%-ezdemo | $(Build) 28 40 $< 29 41 30 $(Build)/%-demo.tex: $(Build)/%-demo | $(Build) 31 $< > $@ 42 $(Build)/%-demo.tex: %-demo.json %-demo.tex.liquid | $(Build) 43 $(Liquid) "$$(< $<)" < $(word 2,$^) > $@ 44 # echo will run $(Liquid) 45 # echo will get JSON from $< 46 # echo will get template from $(word 2,$^) 32 47 33 $(Build)/%-demo: %-demo.cfa48 $(Build)/%-demo: $(Build)/%-demo.cfa 34 49 $(CFA) $< -o $@ 50 51 $(Build)/%-demo.cfa: %-demo.json %-demo.cfa.liquid | $(Build) 52 $(Liquid) "$$(< $<)" < $(word 2,$^) > $@ 35 53 36 54 $(Build)/%-ezdemo: %-demo.cfa
Note:
See TracChangeset
for help on using the changeset viewer.