X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tex%2FGNUmakefile;h=51a54a43aa8f9a4b67e00f2cc862097aabb44f32;hb=63d5204ae8c278291eb98ec0b1d0852b94f8d920;hp=e264e958b69b4afaa6d092d75b169b8e4ffdc458;hpb=c496b95fc4c1d0bda1098945f53c513e56060881;p=lilypond.git diff --git a/tex/GNUmakefile b/tex/GNUmakefile index e264e958b6..51a54a43aa 100644 --- a/tex/GNUmakefile +++ b/tex/GNUmakefile @@ -1,38 +1,16 @@ depth = .. -TEX_FILES = $(wildcard *.tex) texinfo.cnf -EXTRA_DIST_FILES = $(TEX_FILES) -STEPMAKE_TEMPLATES=install install-out +TEXINFO_FILES = texinfo.tex $(call src-wildcard,txi-*.tex) +TEX_FILES = $(filter-out $(TEXINFO_FILES),$(call src-wildcard,*.tex)) +EXTRA_DIST_FILES = $(TEX_FILES) $(TEXINFO_FILES) +STEPMAKE_TEMPLATES = install install-out -INSTALLATION_DIR=$(local_lilypond_datadir)/tex/ -INSTALLATION_FILES=$(TEX_FILES) $(outdir)/music-drawing-routines.ps - -INSTALLATION_OUT_SUFFIXES=1 -INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/fonts/enc -INSTALLATION_OUT_FILES1=$(outdir)/latin1.enc +INSTALLATION_DIR = $(local_lilypond_datadir)/tex +INSTALLATION_FILES = $(TEX_FILES) include $(depth)/make/stepmake.make -$(outdir)/music-drawing-routines.ps: $(depth)/ps/music-drawing-routines.ps - rm -f $@ - -ln $< $@ - -$(outdir)/latin1.enc: GNUmakefile - echo '/ISOLatin1Encoding' > $@.orig - echo 'ISOLatin1Encoding pstack' \ - | gs -sDEVICE=nullpage -quiet - >> $@.orig 2>&1 - echo 'def' >> $@.orig - sed 's|/minus|/hyphen|' < $@.orig > $@ - - -# 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) - +all: $(INSTALLATION_FILES)