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
• Adjusted rsync options to NOT preserve group and owner.
master
1 parent
c735594
commit
8d51e7046d82a87aac3452c88e6b32975ba45bf8
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'. # ################################################################################ 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 # 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) @texhash @updmap-sys debug: @echo "TEXMFSYSCONFIG = [$(TEXMFSYSCONFIG)]" @echo "TEXMFLOCAL = [$(TEXMFLOCAL)]" @echo "UPDMAP = [$(UPDMAP)]" @echo "FONTS = [$(FONTS)]"
################################################################################ # # 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)]"
Show line notes below