################################################################################ # # Makefile to install various fonts so that LaTeX can find them. # # You should only need to run this once after TeX Live install to set things, # up, which is why it isn't called from the Makefile in the parent directory. # Since we're installing into TEXMFLOCAL, you'll need to 'sudo make install'. # WARNING: any predefined TEXMF environment variables probably won't be # available under sudo! Be sure to pass them on the command line if needed: # e.g., 'make install TEXMFLOCAL=/usr/local/texmf'. # ################################################################################ SHELL = /bin/sh # Set this to whatever it should be, e.g., /etc/texmf or whatever. This should # be the parent directory of the 'updmap.d' directory. # TEXMFSYSCONFIG = UPDMAP = $(TEXMFSYSCONFIG)/updmap.d # Set this to whatever it should be, e.g., /usr/local/texmf or whatever. # Fonts need to go into the local TEXMF tree to be visible to updmap (not your # personal TEXMF tree) # TEXMFLOCAL = FONTS = $(TEXMFLOCAL)/fonts install: @cp 99local.cfg $(UPDMAP) @rsync -av afm $(FONTS) @rsync -av map $(FONTS) @rsync -av tfm $(FONTS) @rsync -av truetype $(FONTS) @rsync -av type1 $(FONTS) @rsync -av vf $(FONTS) @texhash @updmap-sys debug: @echo "TEXMFSYSCONFIG = [$(TEXMFSYSCONFIG)]" @echo "TEXMFLOCAL = [$(TEXMFLOCAL)]" @echo "UPDMAP = [$(UPDMAP)]" @echo "FONTS = [$(FONTS)]"