GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
LaTeX
Browse code
• Added mkdir for target directories in case they don't exist.
master
1 parent
8cec586
commit
997d905e224e99c3f3712927be9c354f5c0a6202
Nigel Stanger
authored
on 30 Nov 2017
Patch
Showing
1 changed file
fonts/Makefile
Ignore Space
Show notes
View
fonts/Makefile
################################################################################ # # 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'. # # NOTE: If this is the first time you've done this, you may need to # ################################################################################ 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 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) @mkdir -p $(FONTS) $(LATEX) @rsync -rlptDv fonts/ $(FONTS) @rsync -rlptDv latex/ $(LATEX) @texhash @updmap-sys debug: @echo "TEXMFSYSCONFIG = [$(TEXMFSYSCONFIG)]" @echo "TEXMFLOCAL = [$(TEXMFLOCAL)]" @echo "UPDMAP = [$(UPDMAP)]" @echo "FONTS = [$(FONTS)]" @echo "LATEX = [$(LATEX)]"
################################################################################ # # 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'. # # NOTE: If this is the first time you've done this, you may need to # ################################################################################ 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 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 fonts/ $(FONTS) @rsync -rlptDv latex/ $(LATEX) @texhash @updmap-sys debug: @echo "TEXMFSYSCONFIG = [$(TEXMFSYSCONFIG)]" @echo "TEXMFLOCAL = [$(TEXMFLOCAL)]" @echo "UPDMAP = [$(UPDMAP)]" @echo "FONTS = [$(FONTS)]" @echo "LATEX = [$(LATEX)]"
Show line notes below