diff --git a/fonts/Makefile b/fonts/Makefile index a0ee2e9..d375321 100644 --- a/fonts/Makefile +++ b/fonts/Makefile @@ -9,32 +9,31 @@ # available under sudo! Be sure to pass them on the command line if needed: # e.g., 'make install TEXMFLOCAL=/usr/local/texmf'. # +# NOTE: If this is the first time you've done this, you may need to +# ################################################################################ -SHELL = /bin/sh +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 +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 +FONTS=$(TEXMFLOCAL)/fonts +LATEX=$(TEXMFLOCAL)/tex/latex # Use rsync so we don't clobber anything that's already there, and only copy # what's absolutely necessary. Don't use rsync -a as we don't want to preserve # the group (-g) and owner (-a) if we're writing into a system directory. install: @cp 99local.cfg $(UPDMAP) - @rsync -rlptDv afm $(FONTS) - @rsync -rlptDv map $(FONTS) - @rsync -rlptDv tfm $(FONTS) - @rsync -rlptDv truetype $(FONTS) - @rsync -rlptDv type1 $(FONTS) - @rsync -rlptDv vf $(FONTS) + @rsync -rlptDv fonts/ $(FONTS) + @rsync -rlptDv latex/ $(LATEX) @texhash @updmap-sys @@ -43,3 +42,4 @@ @echo "TEXMFLOCAL = [$(TEXMFLOCAL)]" @echo "UPDMAP = [$(UPDMAP)]" @echo "FONTS = [$(FONTS)]" + @echo "LATEX = [$(LATEX)]"