SHELL=/bin/sh URL=http://trillian.mit.edu/~jc/music/abc/Quebec/ a2p=jcabc2ps # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # BOOKSabc= jig.abc polka.abc reel.abc waltz.abc BOOKSps= jig.ps polka.ps reel.ps waltz.ps # Here's a list of new things, for fast builds of new.abc and new.ps: .SUFFIXES: .SUFFIXES: .abc .ps .abc.ps: $*.abc; a2ps -n $*.abc -o ; mv Out.ps $*.ps # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # all: medleys single TOC single: Tourment ReelDeMontreal # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Note that the "clobber" entry deletes the abc files in this directory. They # are all medleys, derived from single-tune files in subdirectories, so this # shouldn't actually lose any music. neat : ; /bin/rm -f *- *.out clean : neat ; /bin/rm -f new.* *.pdf *.ps TOC.* jig.* march.* polka.* reel.* square.* waltz.* clobber: clean; /bin/rm -f [A-Z]*.abc *.txt *.ps core f.abc: ../f.abc; sed -e 's#/music/abc/ *#/music/abc/Quebec/#' <../f.abc >f.abc # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # new: */*.abc # new.abc new.ps new.pdf find */ -mtime -15 -name '*.abc' | xargs tonew make new.abc new.ps new.pdf new.abc: new/*.abc abcjoin +CRS new/*.abc > new.abc new.ps: new.abc fmt/new.fmt $(a2p) new.abc +Ffmt/new \ |PShdr %P "NEW QUEBEC TUNES" %P \ |PSftr %D $U/new/ %D >new.ps new.pdf: new.ps; ps2pdf new.ps # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # tunekeys: tunekeys.ps; tunekeys.ps: tunekeys.txt # mpage -2 -m30l35Cr50t tunekeys.txt >tunekeys.ps tunekeys.txt: march/* polka/* reel/* square.* tunekeys march/* polka/* reel/* square.* >tunekeys.txt # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # TOC: TOC.txt TOC.ps TOC.ps: TOC.txt mpage -1 -m40l35r10tb -L85 -p -h"Contra Dance Tunes" TOC.ps TOC.txt: [A-Z]*.abc; abctoc [A-Z]*.abc >TOC.txt # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # MEDLEYS, using jc's abcmedley program. MEDps= QJ01.ps QR01.ps BOOKSabc= jig.abc march.abc polka.abc reel.abc waltz.abc BOOKSps= jig.ps march.ps polka.ps reel.ps waltz.ps medleys: $(MEDps) books: books_abc books_ps books_abc: $(BOOKSabc) books_ps: $(BOOKSps) # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Assorted collections: jig.abc: jig/??*.abc; abcjoin +R jig/??*.abc >jig.abc march.abc: march/??*.abc; abcjoin +R march/??*.abc >march.abc polka.abc: polka/??*.abc; abcjoin +R polka/??*.abc >polka.abc reel.abc: reel/??*.abc; abcjoin +R reel/??*.abc >reel.abc square.abc: square/??*.abc; abcjoin +R square/??*.abc >square.abc waltz.abc: waltz/??*.abc; abcjoin +R waltz/??*.abc >waltz.abc jig.ps: jig.abc _65.fmt; $(a2p) jig.abc +F_65 +x +c > jig.ps march.ps: march.abc _65.fmt; $(a2p) march.abc +F_65 +x +c > march.ps polka.ps: polka.abc _65.fmt; $(a2p) polka.abc +F_65 +x +c > polka.ps reel.ps: reel.abc _65.fmt; $(a2p) reel.abc +F_65 +x +c > reel.ps square.ps: square.abc _65.fmt; $(a2p) square.abc +F_65 +x +c > square.ps waltz.ps: waltz.abc _65.fmt; $(a2p) waltz.abc +F_65 +x +c > waltz.ps jig.pdf: jig.ps; ps2pdf jig.ps jig.pdf march.pdf: march.ps; ps2pdf march.ps march.pdf polka.pdf: polka.ps; ps2pdf polka.ps polka.pdf reel.pdf: reel.ps; ps2pdf reel.ps reel.pdf square.pdf: square.ps; ps2pdf square.ps square.pdf waltz.pdf: waltz.ps; ps2pdf waltz.ps waltz.pdf # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # Here are some templates for later entries: J__= jig/_.abc jig/_.abc jig/_.abc jig/_.abc f.abc J__: J__.ps J__.abc: $(J__); abcmedley "Contra Jig Medley __ (_ _ _ _)" $(J__) >J__.abc J__.ps: J__.abc _70.fmt $(J__); $(a2p) +F_70 J__.abc > J__.ps R__= reel/_.abc reel/_.abc reel/_.abc reel/_.abc f.abc R__: R__.ps R__.abc: $(R__); abcmedley "Contra Reel Medley __ (_ _ _ _)" $(R__) >R__.abc R__.ps: R__.abc _70.fmt $(R__); $(a2p) +F_70 R__.abc > R__.ps mm= _.abc _.abc _.abc f.abc mm: mm.ps; mm.abc: $(mm) abcmedley "Contra xxx Medley ()" $(mm) >mm.abc mm.ps: mm.abc _75.fmt $(mm) $(a2p) mm.abc +F_75 > mm.ps mx= _.abc _.abc _.abc f.abc mx: mx.ps; mx.abc: mx.hdr $(mx) abcmedley mx $(mx) >mx.abc mx.ps: mx.abc _75.fmt $(mx) $(a2p) mx.abc +F_75 > mx.ps # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # QJ01= jig/MarcheDesRaquetteurs_A.abc jig/Tourment1_G.abc jig/GigueDuForgeron_D.abc jig/MarcheAuCamp_G.abc jig/JudiqueJig_1.abc QJ01: QJ01.abc QJ01.ps QJ01.abc: $(QJ01); abcmedley "Qu\'ebec Jigs 01 (A G D G A)" $(QJ01) >QJ01.abc QJ01.ps: QJ01.abc _70.fmt $(QJ01) $(a2p) +F_70 QJ01.abc \ |PSftr %D $(URL) %D >QJ01.ps QR01= reel/HommageALaBelleGaspesie.abc reel/Grandeuse.abc reel/EvitGabriel_Em3.abc reel/GoldenWeddingR_G3.abc QR01: QR01.abc QR01.ps QR01.abc: $(QR01); abcmedley "Qu\'ebec Reels 01 (A D Em G)" $(QR01) >QR01.abc QR01.ps: QR01.abc _70.fmt $(QR01) $(a2p) +F_70 QR01.abc \ |PSftr %D $(URL) %D >QR01.ps ReelDeMontreal= reel/MontrealR_F.abc reel/MontrealR_G.abc reel/MontrealR_A.abc ReelDeMontreal: ReelDeMontreal.abc ReelDeMontreal.ps ReelDeMontreal.abc: $(ReelDeMontreal) abcjoin +s $(ReelDeMontreal) >ReelDeMontreal.abc ReelDeMontreal.ps: ReelDeMontreal.abc _80.fmt $(ReelDeMontreal) $(a2p) ReelDeMontreal.abc +F_80 \ | PShdr ReelDeMont "" ReelDeMont \ | PSftr %D $U %D >ReelDeMontreal.ps # Tourment, le Tourment= jig/Tourment1_G.abc jig/Tourment2_C.abc jig/Tourment2_G.abc x9.abc Tourment: Tourment.ps Tourment.pdf Tourment.abc: $(Tourment) abcjoin +s $(Tourment) >Tourment.abc Tourment.ps: Tourment.abc _70.fmt $(Tourment) $(a2p) +F_70 Tourment.abc \ | PShdr Tourment "" Tourment \ | PSftr %D $U %D >Tourment.ps Tourment.pdf: Tourment.ps ps2pdf Tourment.ps