Skip to content

Instantly share code, notes, and snippets.

@malclocke
Created December 6, 2011 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malclocke/1437637 to your computer and use it in GitHub Desktop.
Save malclocke/1437637 to your computer and use it in GitHub Desktop.
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