X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tex%2FGNUmakefile;h=9eca6bc5c7e3506523376ad5a3b679ec677cd390;hb=0204b6667d82ef05e1883423cc81677752dda73c;hp=82982372e32aac7e1340fcbf7c2c73c30822a201;hpb=a56e7512be4d7cf266c9e6eca8e86e631701dae3;p=lilypond.git diff --git a/tex/GNUmakefile b/tex/GNUmakefile index 82982372e3..9eca6bc5c7 100644 --- a/tex/GNUmakefile +++ b/tex/GNUmakefile @@ -1,11 +1,11 @@ depth = .. -TEX_FILES = $(wildcard *.tex) -EXTRA_DIST_FILES = $(TEX_FILES) -STEPMAKE_TEMPLATES=install +TEX_FILES = $(wildcard *.tex) texinfo.cnf +EXTRA_DIST_FILES = $(TEX_FILES) +STEPMAKE_TEMPLATES=install install-out INSTALLATION_DIR=$(local_lilypond_datadir)/tex/ -INSTALLATION_FILES=$(TEX_FILES) $(outdir)/latin1.enc $(outdir)/music-drawing-routines.ps +INSTALLATION_FILES=$(TEX_FILES) $(outdir)/music-drawing-routines.ps include $(depth)/make/stepmake.make @@ -13,9 +13,15 @@ $(outdir)/music-drawing-routines.ps: $(depth)/ps/music-drawing-routines.ps rm -f $@ -ln $< $@ -$(outdir)/latin1.enc: GNUmakefile - echo '/ISOLatin1Encoding ' > $@ - echo 'ISOLatin1Encoding pstack' | gs -sDEVICE=nullpage -quiet - >> $@ - echo ' def ' >> $@ -all: $(INSTALLATION_FILES) +# teTeX-2.0.x compatibility. +local-install: + -$(INSTALL) -d $(DESTDIR)$(local_lilypond_datadir)/tex + (cd $(DESTDIR)$(local_lilypond_datadir)/tex && ln -sf ../fonts/enc .) + +local-uninstall: + -rm -f $(DESTDIR)$(local_lilypond_datadir)/tex/enc + -rmdir $(DESTDIR)$(local_lilypond_datadir)/tex + +all: $(INSTALLATION_FILES) $(INSTALLATION_OUT_FILES1) +