File: texmf-paths.patch

package info (click to toggle)
sgf2dg 4.252-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,800 kB
  • sloc: perl: 7,475; ansic: 964; makefile: 142; sh: 59
file content (37 lines) | stat: -rw-r--r-- 1,022 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
setup directories where tex files are installed
--- a/tex/Makefile
+++ b/tex/Makefile
@@ -37,6 +37,13 @@
 
 # end perl Makefile.PL auto-edit
 
+# Debian definitions for package build
+TEXMFBASE=$(CURDIR)/../debian/sgf2dg/usr/share/texmf
+MFDIR=$(TEXMFBASE)/fonts/source/public/GOOE
+TFMDIR=$(TEXMFBASE)/fonts/tfm/public/GOOE
+TEXDIR=$(TEXMFBASE)/tex/GOOE
+PKFONTS=
+MKDIR=mkdir
 
 # If you make certain types of modifications to the fonts, the .tfm files
 # might change.  If you are getting checksum errors, you should delete any
@@ -80,13 +87,14 @@
 # (with the '-' in front so make doesn't choke if the command isn't there)
 install:
 	rm -f $(PKFONTS)
-	- $(MKDIR) $(MFDIR)
+	$(MKDIR) -p $(MFDIR)
 	$(INSTALL) *.mf $(MFDIR)
-	- $(MKDIR) $(TFMDIR)
+	$(MKDIR) -p $(TFMDIR)
 	$(INSTALL) *.tfm $(TFMDIR)
-	$(INSTALL) gooemacs.tex gotcmacs.tex $(TEXINPUTS)
-	- texhash
-	- MakeTeXls-R
+	$(MKDIR) -p $(TEXDIR)
+	$(INSTALL) gooemacs.tex gotcmacs.tex $(TEXDIR)
+	#- texhash
+	#- MakeTeXls-R
 
 # clean installed fonts
 clean: