setup directories where tex files are installed
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -67,7 +67,12 @@
 sub MY::postamble {
     return <<"TEX_TARGET";
 install_tex :
-	cd tex; \${MAKE} install
+	cd tex; \${MAKE} install \\
+		TEXMFBASE=\$(CURDIR)/debian/sgf2dg/usr/share/texmf \\
+		MFDIR='\$\$(TEXMFBASE)/fonts/source/public/GOOE' \\
+		TFMDIR='\$\$(TEXMFBASE)/fonts/tfm/public/GOOE' \\
+		TEXINPUTS='\$\$(TEXMFBASE)/tex/GOOE' \\
+		PKFONTS=
 
 fonts :
 	cd tex; \${MAKE} fonts
--- a/tex/Makefile
+++ b/tex/Makefile
@@ -79,13 +79,13 @@
 # (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
+#	- texhash
+#	- MakeTeXls-R
 
 # The preferred method of installation is just to copy the metafont sources
 # and tfm files into appropriated directories in MakeTeXPK's search path. The
