
U=http://trillian.mit.edu/~jc/music/book/JohnFrench

all: JohnFrench specials install

# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
# The tune files have names of the form PPN_Title.abc where PP  is  the  page #
# number, and N is the tune number within the page.  The title is as written, #
# with underscores between the words.                                         #
# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #

JohnFrench= [0-9][0-9][0-9]_*.abc
JohnFrench: JohnFrench.abc JohnFrench.ps JohnFrench.pdf
JohnFrench.abc: $(JohnFrench)
	abcjoin +C +S2 $(JohnFrench) >JohnFrench.abc
JohnFrench.ps: JohnFrench.abc fmt/JohnFrench.fmt
	abcm2ps -j 0 -x -F fmt/JohnFrench JohnFrench.abc -O tmp.ps
	PShdr <tmp.ps JohnFrench 'John French Collection 1801' JohnFrench \
	|PSftr %D $U/ %P >JohnFrench.ps
	rm tmp.ps
JohnFrench.pdf: JohnFrench.ps
	ps2pdf JohnFrench.ps JohnFrench.pdf

neat:         ; /bin/rm -f *-
clean:   neat ; /bin/rm -f *.ps *.pdf
clobber: clean; /bin/rm -f JohnFrench.*

install: ../JohnFrench.abc
../JohnFrench.abc: JohnFrench.abc
	/bin/ln -f JohnFrench.abc ../JohnFrench.abc

# = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = #
# Build some special pages:

specials: 

