depth = ..

TEX_FILES = $(filter-out texinfo.tex, $(wildcard *.tex))  
EXTRA_DIST_FILES = $(TEX_FILES) texinfo.tex texinfo.cnf
STEPMAKE_TEMPLATES=install install-out

INSTALLATION_DIR=$(local_lilypond_datadir)/tex/
INSTALLATION_FILES=$(TEX_FILES) $(outdir)/music-drawing-routines.ps

include $(depth)/make/stepmake.make

$(outdir)/music-drawing-routines.ps: $(depth)/ps/music-drawing-routines.ps
	rm -f $@
	-ln $< $@

local-uninstall:
	-rmdir $(DESTDIR)$(local_lilypond_datadir)/tex

all: $(INSTALLATION_FILES)

