]> git.donarmstrong.com Git - lilypond.git/blob - tex/GNUmakefile
(outdir)/latin1.enc: Build fix:
[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' > $@.orig
22         echo 'ISOLatin1Encoding pstack' \
23           | gs -sDEVICE=nullpage  -quiet - >> $@.orig 2>&1
24         echo 'def' >> $@.orig
25         sed 's|/minus|/hyphen|' < $@.orig > $@
26
27
28 # teTeX-2.0.x compatibility.
29 local-install:
30         -$(INSTALL) -d $(DESTDIR)$(local_lilypond_datadir)/tex
31         (cd $(DESTDIR)$(local_lilypond_datadir)/tex && ln -sf ../fonts/enc .)
32
33 local-uninstall:
34         -rm -f $(DESTDIR)$(local_lilypond_datadir)/tex/enc
35         -rmdir $(DESTDIR)$(local_lilypond_datadir)/tex
36
37 all: $(INSTALLATION_FILES) $(INSTALLATION_OUT_FILES1)
38