Skip to content

Instantly share code, notes, and snippets.

@malclocke
Created Dec 6, 2011
Embed
What would you like to do?
Makefile for .chordpro -> .pdf
CHORDII := chordii -a
pdfs := $(patsubst %.chordpro,%.pdf,$(wildcard *.chordpro))
all: $(pdfs)
%.ps : %.chordpro
$(CHORDII) $< > $@
%.pdf : %.ps
ps2pdf $< $@
clean:
rm -f $(pdfs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment