3 TEX_FILES = $(wildcard *.tex) texinfo.cnf
4 EXTRA_DIST_FILES = $(TEX_FILES)
5 STEPMAKE_TEMPLATES=install install-out
7 INSTALLATION_DIR=$(local_lilypond_datadir)/tex/
8 INSTALLATION_FILES=$(TEX_FILES) $(outdir)/music-drawing-routines.ps
10 INSTALLATION_OUT_SUFFIXES=1
11 INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/fonts/enc
12 INSTALLATION_OUT_FILES1=$(outdir)/latin1.enc
14 include $(depth)/make/stepmake.make
16 $(outdir)/music-drawing-routines.ps: $(depth)/ps/music-drawing-routines.ps
20 $(outdir)/latin1.enc: GNUmakefile
21 echo '/ISOLatin1Encoding' > $@.orig
22 echo 'ISOLatin1Encoding pstack' \
23 | gs -sDEVICE=nullpage -quiet - 2>> $@.orig
25 sed 's|/minus|/hyphen|' < $@.orig > $@
28 # teTeX-2.0.x compatibility.
30 -$(INSTALL) -d $(DESTDIR)$(local_lilypond_datadir)/tex
31 (cd $(DESTDIR)$(local_lilypond_datadir)/tex && ln -sf ../fonts/enc .)
34 -rm -f $(DESTDIR)$(local_lilypond_datadir)/tex/enc
35 -rmdir $(DESTDIR)$(local_lilypond_datadir)/tex
37 all: $(INSTALLATION_FILES) $(INSTALLATION_OUT_FILES1)