]> git.donarmstrong.com Git - lilypond.git/blob - tex/GNUmakefile
teTeX-3.0 fix: install .enc in fonts/enc. Add
[lilypond.git] / tex / GNUmakefile
1 depth = ..
2
3 TEX_FILES = $(wildcard *.tex)  texinfo.cnf
4 EXTRA_DIST_FILES = $(TEX_FILES) 
5 STEPMAKE_TEMPLATES=install install-out
6
7 INSTALLATION_DIR=$(local_lilypond_datadir)/tex/
8 INSTALLATION_FILES=$(TEX_FILES) $(outdir)/music-drawing-routines.ps
9
10 INSTALLATION_OUT_SUFFIXES=1
11 INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/fonts/enc
12 INSTALLATION_OUT_FILES1=$(outdir)/latin1.enc
13
14 include $(depth)/make/stepmake.make
15
16 $(outdir)/music-drawing-routines.ps: $(depth)/ps/music-drawing-routines.ps
17         rm -f $@
18         -ln $< $@
19
20 $(outdir)/latin1.enc: GNUmakefile
21         echo '/ISOLatin1Encoding' > $@ 
22         echo 'ISOLatin1Encoding pstack' \
23           | gs -sDEVICE=nullpage  -quiet - \
24           | sed 's|/minus|/hyphen|' >> $@
25         echo 'def' >> $@
26
27 # teTeX-2.0.x compatibility.
28 local-install:
29         -$(INSTALL) -d $(DESTDIR)$(local_lilypond_datadir)/tex
30         (cd $(DESTDIR)$(local_lilypond_datadir)/tex && ln -sf ../fonts/enc .)
31
32 local-uninstall:
33         -rm -f $(DESTDIR)$(local_lilypond_datadir)/tex/enc
34         -rmdir $(DESTDIR)$(local_lilypond_datadir)/tex
35
36 all: $(INSTALLATION_FILES) $(INSTALLATION_OUT_FILES1)
37